1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2025-04-19 09:02:15 +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
No known key found for this signature in database
GPG Key ID: B2E3A4923F8B0D44

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