Skip to content

Commit 91acc39

Browse files
committed
Correct minor typo in debug_assert doc
1 parent a727679 commit 91acc39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/macros.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ macro_rules! assert_eq {
138138
/// running, which might have unexpected consequences but does not introduce
139139
/// unsafety as long as this only happens in safe code. The performance cost
140140
/// of assertions, is however, not measurable in general. Replacing `assert!`
141-
/// with `debug_assert!` is thus only encourage after thorough profiling, and
141+
/// with `debug_assert!` is thus only encouraged after thorough profiling, and
142142
/// more importantly, only in safe code!
143143
///
144144
/// # Examples

0 commit comments

Comments
 (0)