Skip to content

Commit d5d44f7

Browse files
committed
clarify comment
1 parent 36eac12 commit d5d44f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc_codegen_ssa/mir/block.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -529,8 +529,8 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
529529
};
530530

531531
// Emit a panic or a no-op for `panic_if_uninhabited`.
532-
// These are intrinsics that compile to panics so that we can get panics
533-
// which mention the offending type, even from a const context.
532+
// These are intrinsics that compile to panics so that we can get a message
533+
// which mentions the offending type, even from a const context.
534534
#[derive(Debug, PartialEq)]
535535
enum PanicIntrinsic { IfUninhabited, IfNonZero };
536536
let panic_intrinsic = intrinsic.and_then(|i| match i {

0 commit comments

Comments
 (0)