1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2025-06-25 14:22:54 +02:00

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.
This commit is contained in:
Andrew Gallant
2018-01-31 19:17:51 -05:00
parent e05023b406
commit 0fedaa7d28

View File

@ -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 app;
mod args; mod args;
mod decoder; mod decoder;