about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--library/core/src/panicking.rs8
1 files 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) }