diff --git a/examples/extract.rs b/examples/extract.rs index c1f4f8c0..d2597c7d 100644 --- a/examples/extract.rs +++ b/examples/extract.rs @@ -1,4 +1,4 @@ -#![feature(path, io, fs, exit_status)] +#![feature(path, io, exit_status)] extern crate zip; diff --git a/examples/extract_lorem.rs b/examples/extract_lorem.rs index 485906b9..023bd276 100644 --- a/examples/extract_lorem.rs +++ b/examples/extract_lorem.rs @@ -1,4 +1,4 @@ -#![feature(path, io, fs, exit_status)] +#![feature(path, io, exit_status)] use std::io::prelude::*; diff --git a/examples/write_sample.rs b/examples/write_sample.rs index e1022dec..275f4d59 100644 --- a/examples/write_sample.rs +++ b/examples/write_sample.rs @@ -1,4 +1,4 @@ -#![feature(io, fs, path, exit_status)] +#![feature(io, path, exit_status)] use std::io::prelude::*; diff --git a/src/result.rs b/src/result.rs index 31cde8e4..69c9ce7b 100644 --- a/src/result.rs +++ b/src/result.rs @@ -26,7 +26,7 @@ pub enum ZipError impl ZipError { - fn detail(&self) -> ::std::string::CowString + fn detail(&self) -> ::std::borrow::Cow { use ::std::error::Error; use ::std::borrow::IntoCow;