Correct minor typo in debug_assert doc

This commit is contained in:
Panashe M. Fundira 2016-07-27 15:01:43 -04:00
parent a72767970a
commit 91acc3977b
No known key found for this signature in database
GPG key ID: ABD6E90F51BF74B5

View file

@ -138,7 +138,7 @@ macro_rules! assert_eq {
/// 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!`
/// with `debug_assert!` is thus only encourage after thorough profiling, and
/// with `debug_assert!` is thus only encouraged after thorough profiling, and
/// more importantly, only in safe code!
///
/// # Examples