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
```
This commit is contained in:
@@ -145,7 +145,7 @@ impl<'a> RequestDispatcher<'a> {
|
||||
match res {
|
||||
Ok(params) => {
|
||||
let panic_context =
|
||||
format!("\nversion: {}\nrequest: {} {:#?}", version(), R::METHOD, params);
|
||||
format!("\nversion: {}\nrequest: {} {params:#?}", version(), R::METHOD);
|
||||
Some((req, params, panic_context))
|
||||
}
|
||||
Err(err) => {
|
||||
|
||||
Reference in New Issue
Block a user