remove unnecessary to_string
and String::new
This commit is contained in:
parent
c570ab5a0b
commit
77d6176e69
88 changed files with 292 additions and 340 deletions
|
@ -426,7 +426,7 @@ fn do_mir_borrowck<'a, 'tcx>(
|
|||
.span_suggestion_short(
|
||||
mut_span,
|
||||
"remove this `mut`",
|
||||
String::new(),
|
||||
"",
|
||||
Applicability::MachineApplicable,
|
||||
)
|
||||
.emit();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue