diff --git a/src/libcore/macros.rs b/src/libcore/macros.rs index d68fad4972c68..ceaab1857167d 100644 --- a/src/libcore/macros.rs +++ b/src/libcore/macros.rs @@ -456,7 +456,7 @@ macro_rules! writeln { /// /// # Panics /// -/// This will always panic. +/// This will always [panic!](macro.panic.html) /// /// # Examples /// diff --git a/src/libstd/macros.rs b/src/libstd/macros.rs index df3fce0da765d..be0d1587aab56 100644 --- a/src/libstd/macros.rs +++ b/src/libstd/macros.rs @@ -24,6 +24,11 @@ /// The multi-argument form of this macro panics with a string and has the /// `format!` syntax for building a string. /// +/// # Current implementation +/// +/// If the main thread panics it will terminate all your threads and end your +/// program with code `101`. +/// /// # Examples /// /// ```should_panic