From b6180a918538b3afa04bbc1c5515c0be2154e1b6 Mon Sep 17 00:00:00 2001 From: Mara Bos Date: Wed, 31 Jan 2024 09:35:17 +0100 Subject: [PATCH] Formatting. --- library/core/src/panicking.rs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/library/core/src/panicking.rs b/library/core/src/panicking.rs index 0793c1b0f29..94b4113b245 100644 --- a/library/core/src/panicking.rs +++ b/library/core/src/panicking.rs @@ -101,8 +101,12 @@ pub const fn panic_nounwind_fmt(fmt: fmt::Arguments<'_>, force_no_backtrace: boo } // 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) }