remove redundant clones
(clippy::redundant_clone)
This commit is contained in:
@@ -1387,7 +1387,7 @@ impl<'tcx> LifetimeContext<'_, 'tcx> {
|
||||
}
|
||||
}
|
||||
}
|
||||
introduce_suggestion.push((*for_span, for_sugg.to_string()));
|
||||
introduce_suggestion.push((*for_span, for_sugg));
|
||||
introduce_suggestion.push((span, formatter(<_name)));
|
||||
err.multipart_suggestion(&msg, introduce_suggestion, Applicability::MaybeIncorrect);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user