1
0
Fork 0
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:
Yuri Astrakhan 2022-10-12 16:30:52 -04:00
commit 2940ad059d
4 changed files with 21 additions and 21 deletions

View file

@ -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.