Skip to content

Commit

Permalink
Rollup merge of rust-lang#73846 - pierwill:pierwill-patch-2, r=joshtr…
Browse files Browse the repository at this point in the history
…iplett

Fix comma in debug_assert! docs
  • Loading branch information
Dylan-DPC authored Jun 28, 2020
2 parents b83eba2 + 4595fa8 commit 7fd6317
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 7fd6317

Please sign in to comment.