mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 10:05:06 +03:00
Auto merge of #25045 - XuefengWu:1398_remove_ndebug, r=huonw
According to #1398 and pull https://github.com/rust-lang/cargo/pull/1444 , fix doc overridable using -C debug-assertions
This commit is contained in:
@@ -136,7 +136,7 @@ macro_rules! info {
|
||||
}
|
||||
|
||||
/// A convenience macro for logging at the debug log level. This macro can also
|
||||
/// be omitted at compile time by passing `--cfg ndebug` to the compiler. If
|
||||
/// 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.
|
||||
///
|
||||
/// # Examples
|
||||
|
||||
Reference in New Issue
Block a user