diff options
| author | Yuri Astrakhan <YuriAstrakhan@gmail.com> | 2022-10-12 16:30:52 -0400 |
|---|---|---|
| committer | Yuri Astrakhan <YuriAstrakhan@gmail.com> | 2022-10-12 16:43:07 -0400 |
| commit | 2940ad059d7f0fa1dbcbed2a6c522ba3cbfd0ec7 (patch) | |
| tree | 24947e3db0eabbf5f3ec9a2990f43f69329f9982 /src/exercise.rs | |
| parent | 56a4f1680dba7647bca2e3d94ba8fe16d27e547b (diff) | |
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
```
Diffstat (limited to 'src/exercise.rs')
| -rw-r--r-- | src/exercise.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exercise.rs b/src/exercise.rs index 4be3a2c..c0dae34 100644 --- a/src/exercise.rs +++ b/src/exercise.rs @@ -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. |
