From ea0f26ac345a13901dffcd7bd5bc71f8c4ac942b Mon Sep 17 00:00:00 2001 From: fee1-dead Date: Sat, 1 Jan 2022 01:09:15 +0800 Subject: [PATCH] fix typo in comment --- compiler/rustc_borrowck/src/diagnostics/conflict_errors.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_borrowck/src/diagnostics/conflict_errors.rs b/compiler/rustc_borrowck/src/diagnostics/conflict_errors.rs index 21fb9b19e2a47..0c8cbfb712a49 100644 --- a/compiler/rustc_borrowck/src/diagnostics/conflict_errors.rs +++ b/compiler/rustc_borrowck/src/diagnostics/conflict_errors.rs @@ -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 {