about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-05-02 12:56:05 +0000
committerbors <bors@rust-lang.org>2015-05-02 12:56:05 +0000
commit38cedaf430c00a527664ee9fc5213c4409aa7622 (patch)
tree6a43e7285a18b53c9939fdbb99f1c488f14c6fbc /src
parent354d16bd72ed002d6d8abe9896f89a445a60c21f (diff)
parent5d963d23c604a895b16e6e04812966c40cd8689d (diff)
downloadrust-38cedaf430c00a527664ee9fc5213c4409aa7622.tar.gz
rust-38cedaf430c00a527664ee9fc5213c4409aa7622.zip
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 
Diffstat (limited to 'src')
-rw-r--r--src/liblog/macros.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liblog/macros.rs b/src/liblog/macros.rs
index 80eb1601035..c9a3e39c423 100644
--- a/src/liblog/macros.rs
+++ b/src/liblog/macros.rs
@@ -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