fix comment, rustfmt
This commit is contained in:
parent
b5938adb4d
commit
b450e1baf4
|
@ -30,7 +30,6 @@
|
|||
#![feature(raw)]
|
||||
#![panic_runtime]
|
||||
#![feature(panic_runtime)]
|
||||
|
||||
// `real_imp` is unused with Miri, so silence warnings.
|
||||
#![cfg_attr(miri, allow(dead_code))]
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
//! Unwinding panics for Miri.
|
||||
use core::any::Any;
|
||||
use alloc::boxed::Box;
|
||||
use core::any::Any;
|
||||
|
||||
// The type of the payload that the Miri engine propagates through unwinding for us.
|
||||
// Must be pointer-sized.
|
||||
|
|
|
@ -651,7 +651,7 @@ impl<'mir, 'tcx, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
|
|||
|
||||
if M::stack_pop(self, frame.extra, unwinding)? == StackPopJump::NoJump {
|
||||
// The hook already did everything.
|
||||
// We want to skip the `trace!` below, hence early return.
|
||||
// We want to skip the `info!` below, hence early return.
|
||||
return Ok(());
|
||||
}
|
||||
// Normal return.
|
||||
|
|
Loading…
Reference in New Issue