From 0fedaa7d28549ee0b534281acb18423ef3b3648c Mon Sep 17 00:00:00 2001 From: Andrew Gallant Date: Wed, 31 Jan 2018 19:17:51 -0500 Subject: [PATCH] style: remove eprintln macro The eprintln! macro was added to Rust's standard library in Rust 1.19.0, which is below ripgrep's minimum Rust version. Therefore, we can rely on the standard library variant now. --- src/main.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/main.rs b/src/main.rs index ebcc401..f7407ea 100644 --- a/src/main.rs +++ b/src/main.rs @@ -35,13 +35,6 @@ macro_rules! errored { } } -macro_rules! eprintln { - ($($tt:tt)*) => {{ - use std::io::Write; - let _ = writeln!(&mut ::std::io::stderr(), $($tt)*); - }} -} - mod app; mod args; mod decoder;