From 785dccbf8e3281a86cf67a413794a17503e8c049 Mon Sep 17 00:00:00 2001 From: Mathijs van de Nes Date: Sun, 8 Mar 2015 11:25:25 +0100 Subject: [PATCH] Update features and deprecated items --- examples/extract.rs | 2 +- examples/extract_lorem.rs | 2 +- examples/write_sample.rs | 2 +- src/result.rs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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;