diff options
author | Andrew Gallant <jamslam@gmail.com> | 2018-01-31 19:17:51 -0500 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2018-01-31 19:17:51 -0500 |
commit | 0fedaa7d28549ee0b534281acb18423ef3b3648c (patch) | |
tree | b74c9be0065497610f01b1275f5b3a4dccd6a46d /src/main.rs | |
parent | e05023b4065c5a5589caddc53ad1599af6497197 (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.rs | 7 |
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; |