Removed last remnants of old_io

This commit is contained in:
Mathijs van de Nes 2015-03-03 19:28:58 +01:00
parent 9c9a986eaf
commit 8ee78c5314
3 changed files with 3 additions and 3 deletions

View file

@ -3,7 +3,7 @@
#![feature(unsafe_destructor)] #![feature(unsafe_destructor)]
#![warn(missing_docs)] #![warn(missing_docs)]
#![feature(core, old_io, io)] #![feature(core, io)]
extern crate time; extern crate time;
extern crate flate2; extern crate flate2;

View file

@ -25,7 +25,7 @@ pub fn msdos_datetime_to_tm(time: u16, date: u16) -> Tm
{ {
Ok(tm) => tm, Ok(tm) => tm,
Err(m) => { 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() time::empty_tm()
}, },
} }

View file

@ -226,7 +226,7 @@ impl<W: Write+io::Seek> Drop for ZipWriter<W>
if !self.inner.is_closed() if !self.inner.is_closed()
{ {
if let Err(e) = self.finalize() { 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);
} }
} }
} }