mirror of
https://github.com/notohh/rustlings.git
synced 2025-07-28 08:00:05 -04:00
Apply uninlined-format-args clippy lint
This lint should also be applied to the excersies, but I am not certain how to run it for all non-crate individual files. To re-run: ``` rustup run nightly cargo clippy --fix -- -A clippy::all -W clippy::uninlined_format_args ```
This commit is contained in:
parent
56a4f1680d
commit
2940ad059d
4 changed files with 21 additions and 21 deletions
src
|
@ -20,7 +20,7 @@ fn temp_file() -> String {
|
|||
.filter(|c| c.is_alphanumeric())
|
||||
.collect();
|
||||
|
||||
format!("./temp_{}_{}", process::id(), thread_id)
|
||||
format!("./temp_{}_{thread_id}", process::id())
|
||||
}
|
||||
|
||||
// The mode of the exercise.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue