1
Fork 0

remove unnecessary uses of clone

This commit is contained in:
Takayuki Maeda 2022-12-13 02:06:24 +09:00
parent f34356eace
commit ee40a67cd9
7 changed files with 7 additions and 7 deletions

View file

@ -745,7 +745,7 @@ impl<'cx, 'tcx> MirBorrowckCtxt<'cx, 'tcx> {
err.span_suggestion_verbose(
span.shrink_to_hi(),
"consider cloning the value if the performance cost is acceptable",
".clone()".to_string(),
".clone()",
Applicability::MachineApplicable,
);
}