You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Clippy on rust version 1.67 throws warnings for uninlined_format_args
eg.
A simple "cargo clippy --fix" can probably address the necessary changes, but I wont be able to tackle this until the weekend.
The text was updated successfully, but these errors were encountered: