diff --git a/src/debug.rs b/src/debug.rs index e15e0d8..26c87ad 100644 --- a/src/debug.rs +++ b/src/debug.rs @@ -47,11 +47,11 @@ macro_rules! debug { macro_rules! debug { ($fmt:literal) => { - #[cfg(std)] + #[cfg(not(std))] println!("{}", format!($fmt)); }; ($fmt:literal, $($args:expr),+) => { - #[cfg(std)] + #[cfg(not(std))] println!("{}", format!($fmt, $($args), +)); }; }