Skip to content

Commit

Permalink
fix typo in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
fee1-dead authored Dec 31, 2021
1 parent 96e6262 commit ea0f26a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_borrowck/src/diagnostics/conflict_errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ impl<'cx, 'tcx> MirBorrowckCtxt<'cx, 'tcx> {
);
}
}
// Other desugarings takes &self, which cannot cause a move
// Other desugarings take &self, they cannot cause moves
_ => unreachable!(),
}
} else {
Expand Down

0 comments on commit ea0f26a

Please sign in to comment.