about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2023-01-29 10:20:51 +0000
committerCamille GILLOT <gillot.camille@gmail.com>2023-03-09 17:45:13 +0000
commitb34a8a294d63aa830e0cb76351390d7df0abb40a (patch)
tree0cf9c30cbf64eedbe35bb0effa96c135a7102f70 /compiler/rustc_mir_transform/src
parenta5ef6bac28af997ff4027aa6deef8b6a250eff7e (diff)
downloadrust-b34a8a294d63aa830e0cb76351390d7df0abb40a.tar.gz
rust-b34a8a294d63aa830e0cb76351390d7df0abb40a.zip
Pacify tidy.
Diffstat (limited to 'compiler/rustc_mir_transform/src')
-rw-r--r--compiler/rustc_mir_transform/src/check_unsafety.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_mir_transform/src/check_unsafety.rs b/compiler/rustc_mir_transform/src/check_unsafety.rs
index 61f5586d736..a8ec568eb0d 100644
--- a/compiler/rustc_mir_transform/src/check_unsafety.rs
+++ b/compiler/rustc_mir_transform/src/check_unsafety.rs
@@ -107,8 +107,8 @@ impl<'tcx> Visitor<'tcx> for UnsafetyChecker<'_, 'tcx> {
             | StatementKind::Nop => {
                 // safe (at least as emitted during MIR construction)
             }
-            // `AscribeUserType` just exists to help MIR borrowck.  It has no semantics, and
-            // everything is already reported by `PlaceMention`.
+            // `AscribeUserType` just exists to help MIR borrowck.
+            // It has no semantics, and everything is already reported by `PlaceMention`.
             StatementKind::AscribeUserType(..) => return,
         }
         self.super_statement(statement, location);