about summary refs log tree commit diff
path: root/clippy_lints/src/large_stack_frames.rs
diff options
context:
space:
mode:
Diffstat (limited to 'clippy_lints/src/large_stack_frames.rs')
-rw-r--r--clippy_lints/src/large_stack_frames.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/large_stack_frames.rs b/clippy_lints/src/large_stack_frames.rs
index 059ba981ef3..49408d7e243 100644
--- a/clippy_lints/src/large_stack_frames.rs
+++ b/clippy_lints/src/large_stack_frames.rs
@@ -174,7 +174,7 @@ impl<'tcx> LateLintPass<'tcx> for LargeStackFrames {
                 cx,
                 LARGE_STACK_FRAMES,
                 fn_span,
-                &format!("this function may allocate {frame_size} on the stack"),
+                format!("this function may allocate {frame_size} on the stack"),
                 |diag| {
                     // Point out the largest individual contribution to this size, because
                     // it is the most likely to be unintentionally large.