]> git.lizzy.rs Git - rust.git/commit
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)
commit2872e0558982360d499bdba79cf1a3ed06f1ae82
tree7baaed532b19918ed80b8e6d91baed4610411713
parent1927c2e1d8d222656cae7051cdd924aa44428622
parente16c76e3c30fd1123921e33f408d99b5cb40532f
Auto merge of #13835 - nyurik:inline_format_args, r=lnicola

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
```