Skip to content

Commit ca0601a

Browse files
committed
std: someone missed removing this doc and the annotations
Should have happened in 69abc12
1 parent 912ab64 commit ca0601a

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

src/libstd/macros.rs

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -14,28 +14,6 @@
1414
//! library. Each macro is available for use when linking against the standard
1515
//! library.
1616
17-
/// The entry point for panic of Rust threads.
18-
///
19-
/// This macro is used to inject panic into a Rust thread, causing the thread to
20-
/// unwind and panic entirely. Each thread's panic can be reaped as the
21-
/// `Box<Any>` type, and the single-argument form of the `panic!` macro will be
22-
/// the value which is transmitted.
23-
///
24-
/// The multi-argument form of this macro panics with a string and has the
25-
/// `format!` syntax for building a string.
26-
///
27-
/// # Examples
28-
///
29-
/// ```should_panic
30-
/// # #![allow(unreachable_code)]
31-
/// panic!();
32-
/// panic!("this is a terrible mistake!");
33-
/// panic!(4); // panic with the value of 4 to be collected elsewhere
34-
/// panic!("this is a {} {message}", "fancy", message = "message");
35-
/// ```
36-
#[macro_export]
37-
#[stable(feature = "rust1", since = "1.0.0")]
38-
#[allow_internal_unstable]
3917
/// The entry point for panic of Rust threads.
4018
///
4119
/// This macro is used to inject panic into a Rust thread, causing the thread to

0 commit comments

Comments
 (0)