Correct minor typo in debug_assert doc
This commit is contained in:
parent
a72767970a
commit
91acc3977b
1 changed files with 1 additions and 1 deletions
|
|
@ -138,7 +138,7 @@ macro_rules! assert_eq {
|
|||
/// running, which might have unexpected consequences but does not introduce
|
||||
/// unsafety as long as this only happens in safe code. The performance cost
|
||||
/// of assertions, is however, not measurable in general. Replacing `assert!`
|
||||
/// with `debug_assert!` is thus only encourage after thorough profiling, and
|
||||
/// with `debug_assert!` is thus only encouraged after thorough profiling, and
|
||||
/// more importantly, only in safe code!
|
||||
///
|
||||
/// # Examples
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue