We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91acc39 commit 8760b1dCopy full SHA for 8760b1d
src/libcore/macros.rs
@@ -32,9 +32,8 @@ macro_rules! panic {
32
33
/// Ensure that a boolean expression is `true` at runtime.
34
///
35
-/// This will ensure the termination of the program if the provided expression
36
-/// cannot be evaluated to `true` at runtime by means of an unrecoverable error
37
-/// (not necessarily a `panic!`, can also be an `abort`).
+/// This will invoke the `panic!` macro if the provided expression cannot be
+/// evaluated to `true` at runtime.
38
39
/// Assertions are always checked in both debug and release builds, and cannot
40
/// be disabled.
0 commit comments