Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit db2e055

Browse files
committedJun 11, 2024
Formatting.
1 parent 51f20ac commit db2e055

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed
 

‎core/src/panicking.rs

+6-2
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,12 @@ pub const fn panic_nounwind_fmt(fmt: fmt::Arguments<'_>, force_no_backtrace: boo
101101
}
102102

103103
// 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);
104+
let pi = PanicInfo::new(
105+
fmt,
106+
Location::caller(),
107+
/* can_unwind */ false,
108+
force_no_backtrace,
109+
);
106110

107111
// SAFETY: `panic_impl` is defined in safe Rust code and thus is safe to call.
108112
unsafe { panic_impl(&pi) }

0 commit comments

Comments
 (0)
Please sign in to comment.