Content-Length: 270512 | pFad | https://github.com/celinval/rust-dev/commit/db2e05588c5fe2ac2fd9a07b1f8a5fbc38c1f5f6

CF Formatting. · celinval/rust-dev@db2e055 · GitHub
Skip to content

Commit db2e055

Browse files
committed
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

Lines changed: 6 additions & 2 deletions
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/celinval/rust-dev/commit/db2e05588c5fe2ac2fd9a07b1f8a5fbc38c1f5f6

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy