Skip to content

Commit

Permalink
style: cargo fmt --all
Browse files Browse the repository at this point in the history
  • Loading branch information
Pr0methean committed May 16, 2024
1 parent 1cb0e1b commit 3e81fdd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/build.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
use std::env::var;

fn main() {
if var("CARGO_FEATURE_DEFLATE_MINIZ").is_ok()
&& var("CARGO_FEATURE__ALL_FEATURES").is_err() {
if var("CARGO_FEATURE_DEFLATE_MINIZ").is_ok() && var("CARGO_FEATURE__ALL_FEATURES").is_err() {
println!("cargo:warning=Feature `deflate-miniz` is deprecated; replace it with `deflate`");
}
}

0 comments on commit 3e81fdd

Please sign in to comment.