]> git.lizzy.rs Git - rust.git/blobdiff - clippy_lints/src/redundant_clone.rs
Auto merge of #9006 - kyoto7250:issue-8836-v2, r=Jarcho
[rust.git] / clippy_lints / src / redundant_clone.rs
index 249f11f985082f7c55f7b6d3f37c28f15732661b..3b11cbc3760622f9415e8fe6fa8726bad1361548 100644 (file)
@@ -255,7 +255,7 @@ fn check_fn(
                         diag.span_suggestion(
                             sugg_span,
                             "remove this",
-                            String::new(),
+                            "",
                             app,
                         );
                         if clone_usage.cloned_used {