remove unnecessary to_string and String::new for tool_only_span_suggestion
This commit is contained in:
parent
f2d9acfc01
commit
d024997943
1 changed files with 1 additions and 1 deletions
|
|
@ -281,7 +281,7 @@ fn check<'tcx>(
|
|||
diag.tool_only_span_suggestion(
|
||||
local_stmt.span,
|
||||
"remove the local",
|
||||
String::new(),
|
||||
"",
|
||||
Applicability::MachineApplicable,
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue