Auto merge of #27763 - wthrowe:debug-docs, r=alexcrichton
When --cfg ndebug changed to -C debug-assertions the documentation was updated to reflect the new name, but not that the meaning was reversed.
This commit is contained in:
commit
aed55dcd57
|
@ -135,9 +135,9 @@ macro_rules! info {
|
||||||
($($arg:tt)*) => (log!(::log::INFO, $($arg)*))
|
($($arg:tt)*) => (log!(::log::INFO, $($arg)*))
|
||||||
}
|
}
|
||||||
|
|
||||||
/// A convenience macro for logging at the debug log level. This macro can also
|
/// A convenience macro for logging at the debug log level. This macro will
|
||||||
/// be omitted at compile time by passing `-C debug-assertions` to the compiler. If
|
/// be omitted at compile time in an optimized build unless `-C debug-assertions`
|
||||||
/// this option is not passed, then debug statements will be compiled.
|
/// is passed to the compiler.
|
||||||
///
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in New Issue