diff --git a/examples/write_dir.rs b/examples/write_dir.rs index 162842722..81305e214 100644 --- a/examples/write_dir.rs +++ b/examples/write_dir.rs @@ -12,7 +12,7 @@ fn main() { const METHOD_STORED: Option = Some(zip::CompressionMethod::Stored); -#[cfg(any(feature = "_deflate-any"))] +#[cfg(feature = "_deflate-any")] const METHOD_DEFLATED: Option = Some(zip::CompressionMethod::Deflated); #[cfg(not(feature = "_deflate-any"))] const METHOD_DEFLATED: Option = None;