diff --git a/src/write.rs b/src/write.rs index ffcdfa27..d981bd1f 100644 --- a/src/write.rs +++ b/src/write.rs @@ -23,7 +23,7 @@ use bzip2; #[cfg(feature = "bzip2")] use bzip2::write::BzEncoder; #[allow(unused_imports)] // Rust <1.23 compat -use std::ascii::AsciiExt; +#[allow(deprecated)] use std::ascii::AsciiExt; enum GenericZipWriter {