Skip to content

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed
 

‎src/libcore/panicking.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ use fmt;
4040
use panic::{Location, PanicInfo};
4141

4242
#[cold]
43-
// never inline unless panic_immediate_abort to avoid code bloat at the call sites as much as possible
43+
// never inline unless panic_immediate_abort to avoid code
44+
// bloat at the call sites as much as possible
4445
#[cfg_attr(not(feature="panic_immediate_abort"),inline(never))]
4546
#[lang = "panic"]
4647
pub fn panic(expr_file_line_col: &(&'static str, &'static str, u32, u32)) -> ! {

‎src/libstd/panicking.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,8 @@ fn continue_panic_fmt(info: &PanicInfo) -> ! {
406406
reason = "used by the panic! macro",
407407
issue = "0")]
408408
#[cfg_attr(not(test), lang = "begin_panic")]
409-
// never inline unless panic_immediate_abort to avoid code bloat at the call sites as much as possible
409+
// never inline unless panic_immediate_abort to avoid code
410+
// bloat at the call sites as much as possible
410411
#[cfg_attr(not(feature="panic_immediate_abort"),inline(never))]
411412
#[cold]
412413
pub fn begin_panic<M: Any + Send>(msg: M, file_line_col: &(&'static str, u32, u32)) -> ! {

0 commit comments

Comments
 (0)
Please sign in to comment.