diff options
| author | Caleb Cartwright <caleb.cartwright@outlook.com> | 2021-11-07 20:37:34 -0600 |
|---|---|---|
| committer | Caleb Cartwright <caleb.cartwright@outlook.com> | 2021-11-07 20:37:34 -0600 |
| commit | f99e3582bd9838a36883a73380b1d0315cda76e8 (patch) | |
| tree | 379eeed91091e90221c9fb149278ef44bc7eb348 /src/format-diff | |
| parent | bf3c52f3552ff4b1b5bd7f73e50dd71523296f3f (diff) | |
| download | rust-f99e3582bd9838a36883a73380b1d0315cda76e8.tar.gz rust-f99e3582bd9838a36883a73380b1d0315cda76e8.zip | |
Merge commit 'ea199bacef07213dbe008841b89c450e3bf0c638' into rustfmt-sync
Diffstat (limited to 'src/format-diff')
| -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); |
