about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/macros.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libcore/macros.rs b/src/libcore/macros.rs
index c8606b0f163..260d974e45d 100644
--- a/src/libcore/macros.rs
+++ b/src/libcore/macros.rs
@@ -32,9 +32,8 @@ macro_rules! panic {
 
 /// Ensure that a boolean expression is `true` at runtime.
 ///
-/// This will ensure the termination of the program if the provided expression
-/// cannot be evaluated to `true` at runtime by means of an unrecoverable error
-/// (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.
 ///
 /// Assertions are always checked in both debug and release builds, and cannot
 /// be disabled.