diff options
| author | Yuri Astrakhan <YuriAstrakhan@gmail.com> | 2022-09-23 13:42:59 -0400 |
|---|---|---|
| committer | Yuri Astrakhan <YuriAstrakhan@gmail.com> | 2022-09-23 13:42:59 -0400 |
| commit | e67b2bf732876eeb26e0d2fbc4b6c55e1a9f9317 (patch) | |
| tree | 31ace4c422c55a2e52e4c9daaa8df276a341dfd2 /clippy_lints/src/mutable_debug_assertion.rs | |
| parent | ff65eec80194143a52b3433ff3b98437e130b75d (diff) | |
| download | rust-e67b2bf732876eeb26e0d2fbc4b6c55e1a9f9317.tar.gz rust-e67b2bf732876eeb26e0d2fbc4b6c55e1a9f9317.zip | |
Apply uninlined_format-args to clippy_lints
This change is needed for the uninlined_format-args lint to be merged. See https://github.com/rust-lang/rust-clippy/pull/9233
Diffstat (limited to 'clippy_lints/src/mutable_debug_assertion.rs')
| -rw-r--r-- | clippy_lints/src/mutable_debug_assertion.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/clippy_lints/src/mutable_debug_assertion.rs b/clippy_lints/src/mutable_debug_assertion.rs index 321db08dfe8..3ef0c663459 100644 --- a/clippy_lints/src/mutable_debug_assertion.rs +++ b/clippy_lints/src/mutable_debug_assertion.rs @@ -56,10 +56,7 @@ impl<'tcx> LateLintPass<'tcx> for DebugAssertWithMutCall { cx, DEBUG_ASSERT_WITH_MUT_CALL, span, - &format!( - "do not call a function with mutable arguments inside of `{}!`", - macro_name - ), + &format!("do not call a function with mutable arguments inside of `{macro_name}!`"), ); } } |
