From 43f6c2fab76fc7cf92876a7de70579e5b781196d Mon Sep 17 00:00:00 2001 From: William Throwe Date: Mon, 10 Aug 2015 19:56:26 -0400 Subject: [PATCH] Correct debug! documentation When --cfg ndebug changed to -C debug-assertions the documentation was updated to reflect the new name, but not that the meaning was reversed. --- src/liblog/macros.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/liblog/macros.rs b/src/liblog/macros.rs index c9a3e39c423..46b51f50c85 100644 --- a/src/liblog/macros.rs +++ b/src/liblog/macros.rs @@ -135,9 +135,9 @@ macro_rules! info { ($($arg:tt)*) => (log!(::log::INFO, $($arg)*)) } -/// A convenience macro for logging at the debug log level. This macro can also -/// be omitted at compile time by passing `-C debug-assertions` to the compiler. If -/// this option is not passed, then debug statements will be compiled. +/// A convenience macro for logging at the debug log level. This macro will +/// be omitted at compile time in an optimized build unless `-C debug-assertions` +/// is passed to the compiler. /// /// # Examples ///