Skip to content

Commit

Permalink
Fix compatibility with Rust <1.23
Browse files Browse the repository at this point in the history
  • Loading branch information
dbrgn committed Jan 8, 2018
1 parent f2e5cad commit 2469419
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/write.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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>
{
Expand Down

0 comments on commit 2469419

Please sign in to comment.