Fix compatibility with Rust <1.23
This commit is contained in:
parent
f2e5cad539
commit
2469419a89
1 changed files with 2 additions and 0 deletions
|
@ -19,6 +19,8 @@ use msdos_time::TmMsDosExt;
|
||||||
use bzip2;
|
use bzip2;
|
||||||
#[cfg(feature = "bzip2")]
|
#[cfg(feature = "bzip2")]
|
||||||
use bzip2::write::BzEncoder;
|
use bzip2::write::BzEncoder;
|
||||||
|
#[allow(unused_imports)] // Rust <1.23 compat
|
||||||
|
use std::ascii::AsciiExt;
|
||||||
|
|
||||||
enum GenericZipWriter<W: Write + io::Seek>
|
enum GenericZipWriter<W: Write + io::Seek>
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue