From 9a2c8783d91624261317316f996d8d2d09b7b6a4 Mon Sep 17 00:00:00 2001 From: Jeffrey Seyfried Date: Mon, 22 Aug 2016 19:47:38 +0000 Subject: Use `#[prelude_import]` in `libstd`. --- src/libstd/path.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/libstd/path.rs') diff --git a/src/libstd/path.rs b/src/libstd/path.rs index bc8fd66a438..67219b6fd1b 100644 --- a/src/libstd/path.rs +++ b/src/libstd/path.rs @@ -100,7 +100,7 @@ #![stable(feature = "rust1", since = "1.0.0")] use ascii::*; -use borrow::{Borrow, ToOwned, Cow}; +use borrow::{Borrow, Cow}; use cmp; use error::Error; use fmt; @@ -110,8 +110,6 @@ use io; use iter::{self, FusedIterator}; use mem; use ops::{self, Deref}; -use string::String; -use vec::Vec; use ffi::{OsStr, OsString}; @@ -2152,8 +2150,6 @@ impl Error for StripPrefixError { #[cfg(test)] mod tests { use super::*; - use string::{ToString, String}; - use vec::Vec; macro_rules! t( ($path:expr, iter: $iter:expr) => ( -- cgit 1.4.1-3-g733a5