diff options
Diffstat (limited to 'src/format-diff/main.rs')
| -rw-r--r-- | src/format-diff/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/format-diff/main.rs b/src/format-diff/main.rs index c751932273b..655aeda42bf 100644 --- a/src/format-diff/main.rs +++ b/src/format-diff/main.rs @@ -64,7 +64,7 @@ pub struct Opts { } fn main() { - env_logger::init(); + env_logger::Builder::from_env("RUSTFMT_LOG").init(); let opts = Opts::from_args(); if let Err(e) = run(opts) { println!("{}", e); |
