Skip to content

Commit 5d963d2

Browse files
committed
fix doc:rust-lang#1398 stop passing --cfg ndebug and uses -C debug-assertions
1 parent f6574c5 commit 5d963d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/liblog/macros.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ macro_rules! info {
136136
}
137137

138138
/// A convenience macro for logging at the debug log level. This macro can also
139-
/// be omitted at compile time by passing `--cfg ndebug` to the compiler. If
139+
/// be omitted at compile time by passing `-C debug-assertions` to the compiler. If
140140
/// this option is not passed, then debug statements will be compiled.
141141
///
142142
/// # Examples

0 commit comments

Comments
 (0)