From 4b92a5a229ebe7635851fc7bad94108f9de8dcc6 Mon Sep 17 00:00:00 2001 From: Nick Cameron Date: Fri, 26 Dec 2014 11:01:16 +1300 Subject: Rebasing changes --- src/libstd/path/posix.rs | 4 +++- src/libstd/path/windows.rs | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'src/libstd/path') diff --git a/src/libstd/path/posix.rs b/src/libstd/path/posix.rs index c72e41d61c0..d941665f048 100644 --- a/src/libstd/path/posix.rs +++ b/src/libstd/path/posix.rs @@ -448,7 +448,9 @@ static dot_dot_static: &'static [u8] = b".."; #[cfg(test)] mod tests { use super::*; - use prelude::*; + use prelude::Option::{mod, Some, None}; + use prelude::{Vec, Clone, AsSlice, SliceExt, CloneSliceExt, IteratorExt}; + use prelude::{DoubleEndedIteratorExt, Str, StrExt, ToString, GenericPath}; use str; macro_rules! t { diff --git a/src/libstd/path/windows.rs b/src/libstd/path/windows.rs index 278908b8068..12da1752adf 100644 --- a/src/libstd/path/windows.rs +++ b/src/libstd/path/windows.rs @@ -1121,8 +1121,10 @@ fn prefix_len(p: Option) -> uint { #[cfg(test)] mod tests { - use mem; use super::*; + use prelude::Option::{mod, Some, None}; + use prelude::{Vec, Clone, AsSlice, SliceExt, CloneSliceExt, IteratorExt}; + use prelude::{DoubleEndedIteratorExt, Str, ToString, GenericPath}; use super::PathPrefix::*; use super::parse_prefix; -- cgit 1.4.1-3-g733a5