Skip to content

Commit 72c73f8

Browse files
committed
remove the rest of unnecessary to_string
1 parent f8f9d01 commit 72c73f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_utils/src/sugg.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -771,7 +771,7 @@ impl<T: LintContext> DiagnosticExt<T> for rustc_errors::Diagnostic {
771771
}
772772
}
773773

774-
self.span_suggestion(remove_span, msg, String::new(), applicability);
774+
self.span_suggestion(remove_span, msg, "", applicability);
775775
}
776776
}
777777

0 commit comments

Comments
 (0)