We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51f20ac commit db2e055Copy full SHA for db2e055
core/src/panicking.rs
@@ -101,8 +101,12 @@ pub const fn panic_nounwind_fmt(fmt: fmt::Arguments<'_>, force_no_backtrace: boo
101
}
102
103
// PanicInfo with the `can_unwind` flag set to false forces an abort.
104
- let pi =
105
- PanicInfo::new(fmt, Location::caller(), /* can_unwind */ false, force_no_backtrace);
+ let pi = PanicInfo::new(
+ fmt,
106
+ Location::caller(),
107
+ /* can_unwind */ false,
108
+ force_no_backtrace,
109
+ );
110
111
// SAFETY: `panic_impl` is defined in safe Rust code and thus is safe to call.
112
unsafe { panic_impl(&pi) }
0 commit comments