From 91acc3977bdb62b52698b488c63070adbf29af30 Mon Sep 17 00:00:00 2001 From: "Panashe M. Fundira" Date: Wed, 27 Jul 2016 15:01:43 -0400 Subject: [PATCH] Correct minor typo in debug_assert doc --- src/libcore/macros.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcore/macros.rs b/src/libcore/macros.rs index e3207a0a86c4..c8606b0f1636 100644 --- a/src/libcore/macros.rs +++ b/src/libcore/macros.rs @@ -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