Silence warnings about AsciiExt

Some supported rust versions still require this import
This commit is contained in:
Mathijs van de Nes 2018-10-16 17:47:48 +02:00
parent dbb871245b
commit a1d579b146

View file

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