Skip to content
This repository was archived by the owner on Feb 1, 2024. It is now read-only.

Commit 422dcde

Browse files
committed
Fix format_in_format_args warnings
Signed-off-by: Joseph Livesey <joseph.livesey@btp.works>
1 parent 03269b4 commit 422dcde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

perf/intkey_workload/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ struct IntKeyCliError {
366366

367367
impl fmt::Display for IntKeyCliError {
368368
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
369-
write!(f, "{}", format!("IntKeyCliError {}", self.msg))
369+
write!(f, "{}", format_args!("IntKeyCliError {}", self.msg))
370370
}
371371
}
372372

0 commit comments

Comments
 (0)