Skip to content

Commit 7c6f6a4

Browse files
committed
Fix clippy lint
1 parent 6b6d1a7 commit 7c6f6a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api-demo/src/demo/util.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,6 @@ pub fn handle_ctrl_c() {
4949

5050
pub fn chapter_title(title: &str) {
5151
println!();
52-
println!("===== {} =====", title);
52+
println!("===== {title} =====");
5353
println!();
5454
}

0 commit comments

Comments
 (0)