Skip to content

Commit 98a87d3

Browse files
authored
Update conflict_errors.rs
1 parent 8e39c8f commit 98a87d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_borrowck/src/diagnostics/conflict_errors.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ impl<'cx, 'tcx> MirBorrowckCtxt<'cx, 'tcx> {
494494
{
495495
self.suggest_cloning(err, ty, expr, None, Some(move_spans));
496496
} else if self.suggest_hoisting_call_outside_loop(err, expr) {
497-
// The place where the the type moves would be misleading to suggest clone.
497+
// The place where the type moves would be misleading to suggest clone.
498498
// #121466
499499
self.suggest_cloning(err, ty, expr, None, Some(move_spans));
500500
}

0 commit comments

Comments
 (0)