style: cargo fmt --all

This commit is contained in:
Chris Hennick 2024-05-15 17:47:20 -07:00
parent 1cb0e1b3b7
commit 3e81fddb78
No known key found for this signature in database
GPG key ID: DA47AABA4961C509

View file

@ -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`");
}
}