diff options
author | Joe Wilm <joe@jwilm.com> | 2017-01-23 08:50:24 -0800 |
---|---|---|
committer | Joe Wilm <jwilm@users.noreply.github.com> | 2017-01-23 09:14:01 -0800 |
commit | e118431d16d64543f5c2904af109ae9ba7e2965f (patch) | |
tree | 00048e1dd12896adad8e0345b27d9e6a17264026 /src/macros.rs | |
parent | ee37dc86abb3257458d5832e4448ded8a0d2b0a7 (diff) | |
download | alacritty-e118431d16d64543f5c2904af109ae9ba7e2965f.tar.gz alacritty-e118431d16d64543f5c2904af109ae9ba7e2965f.zip |
Remove debug_print! macros
The logging macros should be used instead.
Diffstat (limited to 'src/macros.rs')
-rw-r--r-- | src/macros.rs | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/macros.rs b/src/macros.rs index c96e6d64..00a9b529 100644 --- a/src/macros.rs +++ b/src/macros.rs @@ -41,24 +41,6 @@ macro_rules! err_print { } #[macro_export] -macro_rules! debug_println { - ($($t:tt)*) => { - if cfg!(debug_assertions) { - err_println!($($t)*); - } - } -} - -#[macro_export] -macro_rules! debug_print { - ($($t:tt)*) => { - if cfg!(debug_assertions) { - err_print!($($t)*); - } - } -} - -#[macro_export] macro_rules! maybe { ($option:expr) => { match $option { |