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
{{ message }}
Repository navigation
Fix clippy warning variables can be used directly in the 'format!' string #223
warning: variables can be used directly in the `format!` string
--> src/find/matchers/delete.rs:49:17
|
49 | writeln!(&mut stderr(), "Failed to delete {}: {}", path_str, e).unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
= note: `-W clippy::uninlined-format-args` implied by `-W clippy::pedantic`
help: change this to
|
49 - writeln!(&mut stderr(), "Failed to delete {}: {}", path_str, e).unwrap();
49 + writeln!(&mut stderr(), "Failed to delete {path_str}: {e}").unwrap();
changed the title [-]Fix clippy warning ```variables can be used directly in the `format!` string```[/-][+]Fix clippy warning `variables can be used directly in the 'format!' string`[/+]on Apr 2, 2023
Activity
[-]Fix clippy warning ```variables can be used directly in the `format!` string```[/-][+]Fix clippy warning `variables can be used directly in the 'format!' string`[/+]Fix clippy warning on 'format!' strings