fix comment, rustfmt

This commit is contained in:
Ralf Jung 2020-03-14 12:10:00 +01:00
parent b5938adb4d
commit b450e1baf4
3 changed files with 2 additions and 3 deletions

View File

@ -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))]

View File

@ -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.

View File

@ -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.