We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5084e80 commit 57bc3b1Copy full SHA for 57bc3b1
src/format-diff/main.rs
@@ -61,7 +61,7 @@ pub struct Opts {
61
}
62
63
fn main() {
64
- env_logger::init();
+ env_logger::Builder::from_env("RUSTFMT_LOG").init();
65
let opts = Opts::from_args();
66
if let Err(e) = run(opts) {
67
println!("{}", e);
src/git-rustfmt/main.rs
@@ -133,7 +133,7 @@ struct Opt {
133
134
135
136
137
138
let opt: Opt = Opt::from_args();
139
src/rustfmt/main.rs
@@ -20,7 +20,7 @@ use rustfmt_nightly::{
20
};
21
22
23
24
25
26
0 commit comments