Closed
Description
Clippy on rust version 1.67 throws warnings for uninlined_format_args
eg.
warning: `capable` (bin "capable") generated 1 warning
warning: variables can be used directly in the `format!` string
--> examples/runqslower/src/main.rs:74:5
|
74 | eprintln!("Lost {} events on CPU {}", count, cpu);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= 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
|
74 - eprintln!("Lost {} events on CPU {}", count, cpu);
74 + eprintln!("Lost {count} events on CPU {cpu}");
A simple "cargo clippy --fix" can probably address the necessary changes, but I wont be able to tackle this until the weekend.
Metadata
Metadata
Assignees
Labels
No labels