Skip to content

Commit 32f7440

Browse files
authored
Rollup merge of rust-lang#73846 - pierwill:pierwill-patch-2, r=joshtriplett
Fix comma in debug_assert! docs
2 parents d535184 + 4595fa8 commit 32f7440

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/macros/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ macro_rules! assert_ne {
151151
/// An unchecked assertion allows a program in an inconsistent state to keep
152152
/// running, which might have unexpected consequences but does not introduce
153153
/// unsafety as long as this only happens in safe code. The performance cost
154-
/// of assertions, is however, not measurable in general. Replacing [`assert!`]
154+
/// of assertions, however, is not measurable in general. Replacing [`assert!`]
155155
/// with `debug_assert!` is thus only encouraged after thorough profiling, and
156156
/// more importantly, only in safe code!
157157
///

0 commit comments

Comments
 (0)