summaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2018-01-31 19:17:51 -0500
committerAndrew Gallant <jamslam@gmail.com>2018-01-31 19:17:51 -0500
commit0fedaa7d28549ee0b534281acb18423ef3b3648c (patch)
treeb74c9be0065497610f01b1275f5b3a4dccd6a46d /src/main.rs
parente05023b4065c5a5589caddc53ad1599af6497197 (diff)
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.
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/main.rs b/src/main.rs
index ebcc401c..f7407eab 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;