From 2469419a8964dc1109415a9f5350569b110e2a96 Mon Sep 17 00:00:00 2001 From: Danilo Bargen Date: Mon, 8 Jan 2018 08:26:49 +0100 Subject: [PATCH] Fix compatibility with Rust <1.23 --- src/write.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/write.rs b/src/write.rs index ce3bae54..e46ac03f 100644 --- a/src/write.rs +++ b/src/write.rs @@ -19,6 +19,8 @@ use msdos_time::TmMsDosExt; use bzip2; #[cfg(feature = "bzip2")] use bzip2::write::BzEncoder; +#[allow(unused_imports)] // Rust <1.23 compat +use std::ascii::AsciiExt; enum GenericZipWriter {