Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
wthrowe committed Aug 12, 2015
1 parent 6a5c4e7 commit 43f6c2f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/liblog/macros.rs
Expand Up @@ -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
///
Expand Down

0 comments on commit 43f6c2f

Please sign in to comment.