From 8760b1dd264bfd4f00a772e3229d02b9bb0e25f4 Mon Sep 17 00:00:00 2001 From: "Panashe M. Fundira" Date: Wed, 27 Jul 2016 15:03:23 -0400 Subject: [PATCH] Revert section about panic! in assert! doc --- src/libcore/macros.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/libcore/macros.rs b/src/libcore/macros.rs index c8606b0f1636..260d974e45d6 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.