Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdb2e055

Browse files
committed
Formatting.
1 parent51f20ac commitdb2e055

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)

[8]ページ先頭

©2009-2025 Movatter.jp