diff --git a/src/lib.rs b/src/lib.rs index 3bd8f736..0adde68d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -3,7 +3,7 @@ #![feature(unsafe_destructor)] #![warn(missing_docs)] -#![feature(core, old_io, io)] +#![feature(core, io)] extern crate time; extern crate flate2; diff --git a/src/util.rs b/src/util.rs index 2285fe53..a02e76e6 100644 --- a/src/util.rs +++ b/src/util.rs @@ -25,7 +25,7 @@ pub fn msdos_datetime_to_tm(time: u16, date: u16) -> Tm { Ok(tm) => tm, Err(m) => { - let _ = write!(&mut ::std::old_io::stdio::stderr(), "Failed parsing date: {}", m); + let _ = write!(&mut io::stderr(), "Failed parsing date: {}", m); time::empty_tm() }, } diff --git a/src/write.rs b/src/write.rs index e3920cdc..0772249c 100644 --- a/src/write.rs +++ b/src/write.rs @@ -226,7 +226,7 @@ impl Drop for ZipWriter if !self.inner.is_closed() { if let Err(e) = self.finalize() { - let _ = write!(&mut ::std::old_io::stdio::stderr(), "ZipWriter drop failed: {:?}", e); + let _ = write!(&mut io::stderr(), "ZipWriter drop failed: {:?}", e); } } }