Fix compatibility with Rust <1.23

This commit is contained in:
Danilo Bargen 2018-01-08 08:26:49 +01:00
parent f2e5cad539
commit 2469419a89

View file

@ -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<W: Write + io::Seek>
{