]> git.proxmox.com Git - rustc.git/blobdiff - compiler/rustc_borrowck/src/invalidation.rs
New upstream version 1.61.0+dfsg1
[rustc.git] / compiler / rustc_borrowck / src / invalidation.rs
index 73ced63e4d75075ce517f7387f5ecaf22249d0eb..1a789009f061196a4f06a590e4e741d9eb9d0dbb 100644 (file)
@@ -365,7 +365,7 @@ impl<'cx, 'tcx> InvalidationGenerator<'cx, 'tcx> {
                     // borrow); so don't check if they interfere.
                     //
                     // NOTE: *reservations* do conflict with themselves;
-                    // thus aren't injecting unsoundenss w/ this check.)
+                    // thus aren't injecting unsoundness w/ this check.)
                     (Activation(_, activating), _) if activating == borrow_index => {
                         // Activating a borrow doesn't generate any invalidations, since we
                         // have already taken the reservation