aboutsummaryrefslogtreecommitdiff
path: root/src/macros.rs
diff options
context:
space:
mode:
authorJoe Wilm <joe@jwilm.com>2016-12-16 22:13:51 -0800
committerJoe Wilm <joe@jwilm.com>2016-12-16 22:13:51 -0800
commitdc918ae71a5e6c78a77994d7ce106a2253918c54 (patch)
tree537c7d13443e18ed657398f4eca0bf921ef4ac5e /src/macros.rs
parent3b995ff87a54239ecacb95d51f65c17504a8d22c (diff)
downloadalacritty-dc918ae71a5e6c78a77994d7ce106a2253918c54.tar.gz
alacritty-dc918ae71a5e6c78a77994d7ce106a2253918c54.zip
Rustup and clippy
All of the changes in this commit are due to clippy lints.
Diffstat (limited to 'src/macros.rs')
-rw-r--r--src/macros.rs4
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)*);
}
}
}