diff options
Diffstat (limited to 'src/macros.rs')
-rw-r--r-- | src/macros.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/macros.rs b/src/macros.rs index 740e5ed9..a6e30104 100644 --- a/src/macros.rs +++ b/src/macros.rs @@ -34,7 +34,7 @@ macro_rules! err_println { macro_rules! debug_println { ($($t:tt)*) => { if cfg!(debug_assertions) { - println!($($t)*); + err_println!($($t)*); } } } @@ -43,7 +43,7 @@ macro_rules! debug_println { macro_rules! debug_print { ($($t:tt)*) => { if cfg!(debug_assertions) { - print!($($t)*); + err_print!($($t)*); } } } |