]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #13835 - nyurik:inline_format_args, r=lnicola
authorbors <bors@rust-lang.org>
Sun, 25 Dec 2022 08:10:59 +0000 (08:10 +0000)
committerbors <bors@rust-lang.org>
Sun, 25 Dec 2022 08:10:59 +0000 (08:10 +0000)
Inline all format arguments where possible

This makes code more readale and concise,
moving all format arguments like `format!("{}", foo)` into the more compact `format!("{foo}")` form.

The change was automatically created with, so there are far less change of an accidental typo.

```
cargo clippy --fix -- -A clippy::all -W clippy::uninlined_format_args
```


Trivial merge