Skip to content

Commit

Permalink
Rollup merge of #73846 - pierwill:pierwill-patch-2, r=joshtriplett
Browse files Browse the repository at this point in the history
Fix comma in debug_assert! docs
  • Loading branch information
Manishearth committed Jul 1, 2020
2 parents db900d4 + 4595fa8 commit affd950
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/macros/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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!
///
Expand Down

0 comments on commit affd950

Please sign in to comment.