about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorVitaly _Vi Shukela <vi0oss@gmail.com>2018-11-30 02:37:04 +0300
committerVitaly _Vi Shukela <vi0oss@gmail.com>2018-11-30 02:37:04 +0300
commitf18a8c6163fa3b1eef5aabd1baf1eef2b9789c46 (patch)
tree9b2623b2c084c5dfab64b80c6103ce1827418078 /src
parentd3f9788e596f9b7f07c165e0f382dbe2cdb02b6e (diff)
downloadrust-f18a8c6163fa3b1eef5aabd1baf1eef2b9789c46.tar.gz
rust-f18a8c6163fa3b1eef5aabd1baf1eef2b9789c46.zip
Fix exceeding line width limit
Diffstat (limited to 'src')
-rw-r--r--src/libcore/panicking.rs3
-rw-r--r--src/libstd/panicking.rs3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/libcore/panicking.rs b/src/libcore/panicking.rs
index 834fcd246c5..aa18a60fc0f 100644
--- a/src/libcore/panicking.rs
+++ b/src/libcore/panicking.rs
@@ -40,7 +40,8 @@ use fmt;
 use panic::{Location, PanicInfo};
 
 #[cold]
-// never inline unless panic_immediate_abort to avoid code bloat at the call sites as much as possible
+// never inline unless panic_immediate_abort to avoid code
+// bloat at the call sites as much as possible
 #[cfg_attr(not(feature="panic_immediate_abort"),inline(never))]
 #[lang = "panic"]
 pub fn panic(expr_file_line_col: &(&'static str, &'static str, u32, u32)) -> ! {
diff --git a/src/libstd/panicking.rs b/src/libstd/panicking.rs
index 82ceec62f35..4930d356608 100644
--- a/src/libstd/panicking.rs
+++ b/src/libstd/panicking.rs
@@ -406,7 +406,8 @@ fn continue_panic_fmt(info: &PanicInfo) -> ! {
            reason = "used by the panic! macro",
            issue = "0")]
 #[cfg_attr(not(test), lang = "begin_panic")]
-// never inline unless panic_immediate_abort to avoid code bloat at the call sites as much as possible
+// never inline unless panic_immediate_abort to avoid code
+// bloat at the call sites as much as possible
 #[cfg_attr(not(feature="panic_immediate_abort"),inline(never))]
 #[cold]
 pub fn begin_panic<M: Any + Send>(msg: M, file_line_col: &(&'static str, u32, u32)) -> ! {