Skip to content

Commit b34a8a2

Browse files
committed
Pacify tidy.
1 parent a5ef6ba commit b34a8a2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

compiler/rustc_middle/src/mir/syntax.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -325,8 +325,8 @@ pub enum StatementKind<'tcx> {
325325
/// Only `RetagKind::Default` and `RetagKind::FnEntry` are permitted.
326326
Retag(RetagKind, Box<Place<'tcx>>),
327327

328-
/// This statement exists to preserve a trace of a scrutinee matched against a wildcard
329-
/// binding. This is especially useful for `let _ = PLACE;` bindings that desugar to a single
328+
/// This statement exists to preserve a trace of a scrutinee matched against a wildcard binding.
329+
/// This is especially useful for `let _ = PLACE;` bindings that desugar to a single
330330
/// `PlaceMention(PLACE)`.
331331
///
332332
/// When executed at runtime this is a nop.

compiler/rustc_mir_transform/src/check_unsafety.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ impl<'tcx> Visitor<'tcx> for UnsafetyChecker<'_, 'tcx> {
107107
| StatementKind::Nop => {
108108
// safe (at least as emitted during MIR construction)
109109
}
110-
// `AscribeUserType` just exists to help MIR borrowck. It has no semantics, and
111-
// everything is already reported by `PlaceMention`.
110+
// `AscribeUserType` just exists to help MIR borrowck.
111+
// It has no semantics, and everything is already reported by `PlaceMention`.
112112
StatementKind::AscribeUserType(..) => return,
113113
}
114114
self.super_statement(statement, location);

0 commit comments

Comments
 (0)