Skip to content

Commit b450e1b

Browse files
committed
fix comment, rustfmt
1 parent b5938ad commit b450e1b

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

src/libpanic_unwind/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
#![feature(raw)]
3131
#![panic_runtime]
3232
#![feature(panic_runtime)]
33-
3433
// `real_imp` is unused with Miri, so silence warnings.
3534
#![cfg_attr(miri, allow(dead_code))]
3635

src/libpanic_unwind/miri.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! Unwinding panics for Miri.
2-
use core::any::Any;
32
use alloc::boxed::Box;
3+
use core::any::Any;
44

55
// The type of the payload that the Miri engine propagates through unwinding for us.
66
// Must be pointer-sized.

src/librustc_mir/interpret/eval_context.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@ impl<'mir, 'tcx, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
651651

652652
if M::stack_pop(self, frame.extra, unwinding)? == StackPopJump::NoJump {
653653
// The hook already did everything.
654-
// We want to skip the `trace!` below, hence early return.
654+
// We want to skip the `info!` below, hence early return.
655655
return Ok(());
656656
}
657657
// Normal return.

0 commit comments

Comments
 (0)