@@ -1046,7 +1046,7 @@ impl<'cx, 'tcx> MirBorrowckCtxt<'cx, 'tcx> {
10461046 // borrow); so don't check if they interfere.
10471047 //
10481048 // NOTE: *reservations* do conflict with themselves;
1049- // thus aren't injecting unsoundenss w/ this check.)
1049+ // thus aren't injecting unsoundness w/ this check.)
10501050 ( Activation ( _, activating) , _) if activating == borrow_index => {
10511051 debug ! (
10521052 "check_access_for_conflict place_span: {:?} sd: {:?} rw: {:?} \
@@ -1105,7 +1105,7 @@ impl<'cx, 'tcx> MirBorrowckCtxt<'cx, 'tcx> {
11051105 ) ;
11061106 // rust-lang/rust#56254 - This was previously permitted on
11071107 // the 2018 edition so we emit it as a warning. We buffer
1108- // these sepately so that we only emit a warning if borrow
1108+ // these separately so that we only emit a warning if borrow
11091109 // checking was otherwise successful.
11101110 this. reservation_warnings
11111111 . insert ( bi, ( place_span. 0 , place_span. 1 , location, bk, borrow. clone ( ) ) ) ;
@@ -1586,7 +1586,7 @@ impl<'cx, 'tcx> MirBorrowckCtxt<'cx, 'tcx> {
15861586 ) {
15871587 debug ! ( "check_if_reassignment_to_immutable_state({:?})" , local) ;
15881588
1589- // Check if any of the initializiations of `local` have happened yet:
1589+ // Check if any of the initializations of `local` have happened yet:
15901590 if let Some ( init_index) = self . is_local_ever_initialized ( local, flow_state) {
15911591 // And, if so, report an error.
15921592 let init = & self . move_data . inits [ init_index] ;
0 commit comments