Assert doc wording

This commit is contained in:
Kornel 2020-05-19 11:19:09 +01:00
parent 5943351d0e
commit 5b65c0f9a5

View file

@ -1243,7 +1243,7 @@ pub(crate) mod builtin {
/// be disabled. See [`debug_assert!`] for assertions that are not enabled in
/// release builds by default.
///
/// Unsafe code relies on `assert!` to enforce run-time invariants that, if
/// Unsafe code may rely on `assert!` to enforce run-time invariants that, if
/// violated could lead to unsafety.
///
/// Other use-cases of `assert!` include testing and enforcing run-time