Fix comma in debug_assert! docs
This commit is contained in:
parent
9bdd2db3a6
commit
4595fa8a1b
1 changed files with 1 additions and 1 deletions
|
|
@ -151,7 +151,7 @@ macro_rules! assert_ne {
|
|||
/// An unchecked assertion allows a program in an inconsistent state to keep
|
||||
/// 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!`]
|
||||
/// of assertions, however, is not measurable in general. Replacing [`assert!`]
|
||||
/// with `debug_assert!` is thus only encouraged after thorough profiling, and
|
||||
/// more importantly, only in safe code!
|
||||
///
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue