We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8760b1d commit 9a7367bCopy full SHA for 9a7367b
src/libcore/macros.rs
@@ -36,7 +36,8 @@ macro_rules! panic {
36
/// evaluated to `true` at runtime.
37
///
38
/// Assertions are always checked in both debug and release builds, and cannot
39
-/// be disabled.
+/// be disabled. See `debug_assert!` for assertions that are not enabled in
40
+/// release builds by default.
41
42
/// Unsafe code relies on `assert!` to enforce run-time invariants that, if
43
/// violated could lead to unsafety.
0 commit comments