Skip to content

Commit 7fac166

Browse files
committed
chore: addressing clippy uninlined_format_args warnings
Output from clippy 0.1.90 (a001497644 2025-07-14): > = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args > = note: `#[warn(clippy::uninlined_format_args)]` on by default > help: change this to > cmd => panic!("unimplemented {:?}", cmd), > cmd => panic!("unimplemented {cmd:?}"), Signed-off-by: AlfredWilmot <[email protected]>
1 parent ec56f48 commit 7fac166

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

content/tokio/tutorial/shared-state.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ async fn process(socket: TcpStream, db: Db) {
142142
Frame::Null
143143
}
144144
}
145-
cmd => panic!("unimplemented {:?}", cmd),
145+
cmd => panic!("unimplemented {cmd:?}"),
146146
};
147147

148148
// Write the response to the client

content/tokio/tutorial/spawning.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ async fn process(socket: TcpStream) {
398398
Frame::Null
399399
}
400400
}
401-
cmd => panic!("unimplemented {:?}", cmd),
401+
cmd => panic!("unimplemented {cmd:?}"),
402402
};
403403

404404
// Write the response to the client

0 commit comments

Comments
 (0)