about summary refs log tree commit diff
path: root/clippy_lints/src/mut_reference.rs
diff options
context:
space:
mode:
Diffstat (limited to 'clippy_lints/src/mut_reference.rs')
-rw-r--r--clippy_lints/src/mut_reference.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/mut_reference.rs b/clippy_lints/src/mut_reference.rs
index 084c0d471dd..4547ed7eafc 100644
--- a/clippy_lints/src/mut_reference.rs
+++ b/clippy_lints/src/mut_reference.rs
@@ -87,7 +87,7 @@ fn check_arguments<'tcx>(
                                 cx,
                                 UNNECESSARY_MUT_PASSED,
                                 argument.span,
-                                &format!("the {} `{}` doesn't need a mutable reference", fn_kind, name),
+                                &format!("the {fn_kind} `{name}` doesn't need a mutable reference"),
                             );
                         }
                     },