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 f72e4a9

Browse files
committedJun 11, 2024
Formatting.
1 parent 0503ca7 commit f72e4a9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎std/src/panicking.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -768,7 +768,9 @@ fn rust_panic_with_hook(
768768
// recursive panics. However if the message is just a string, no user-defined
769769
// code is involved in printing it, so that is risk-free.
770770
let message: &str = payload.as_str().unwrap_or_default();
771-
rtprintpanic!("panicked at {location}:\n{message}\nthread panicked while processing panic. aborting.\n");
771+
rtprintpanic!(
772+
"panicked at {location}:\n{message}\nthread panicked while processing panic. aborting.\n"
773+
);
772774
}
773775
panic_count::MustAbort::AlwaysAbort => {
774776
// Unfortunately, this does not print a backtrace, because creating

0 commit comments

Comments
 (0)
Failed to load comments.