Formatting.

This commit is contained in:
Mara Bos 2024-01-31 09:35:17 +01:00
parent 6b2d7c4707
commit b6180a9185

View file

@ -101,8 +101,12 @@ fn runtime(fmt: fmt::Arguments<'_>, force_no_backtrace: bool) -> ! {
}
// PanicInfo with the `can_unwind` flag set to false forces an abort.
let pi =
PanicInfo::new(fmt, Location::caller(), /* can_unwind */ false, force_no_backtrace);
let pi = PanicInfo::new(
fmt,
Location::caller(),
/* can_unwind */ false,
force_no_backtrace,
);
// SAFETY: `panic_impl` is defined in safe Rust code and thus is safe to call.
unsafe { panic_impl(&pi) }