From 8ee78c5314d44aa7d43bd438a2dd125033809057 Mon Sep 17 00:00:00 2001 From: Mathijs van de Nes Date: Tue, 3 Mar 2015 19:28:58 +0100 Subject: [PATCH] Removed last remnants of old_io --- src/lib.rs | 2 +- src/util.rs | 2 +- src/write.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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); } } }