diff options
| author | Panashe M. Fundira <fundirap@gmail.com> | 2016-07-27 15:03:23 -0400 |
|---|---|---|
| committer | Panashe M. Fundira <fundirap@gmail.com> | 2016-07-27 15:03:23 -0400 |
| commit | 8760b1dd264bfd4f00a772e3229d02b9bb0e25f4 (patch) | |
| tree | 31dcdcb15f8ad4a22f3a3c519de16bc10ce8f44d /src/libcore | |
| parent | 91acc3977bdb62b52698b488c63070adbf29af30 (diff) | |
| download | rust-8760b1dd264bfd4f00a772e3229d02b9bb0e25f4.tar.gz rust-8760b1dd264bfd4f00a772e3229d02b9bb0e25f4.zip | |
Revert section about panic! in assert! doc
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/macros.rs | 5 |
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. |
