From a1d579b14625764af3da21f1a29904141fea22d6 Mon Sep 17 00:00:00 2001 From: Mathijs van de Nes Date: Tue, 16 Oct 2018 17:47:48 +0200 Subject: [PATCH] Silence warnings about AsciiExt Some supported rust versions still require this import --- src/write.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {