Skip to content

Commit 4595fa8

Browse files
committed
Fix comma in debug_assert! docs
1 parent 9bdd2db commit 4595fa8

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)