about summary refs log tree commit diff
path: root/src/libstd/old_path
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd/old_path')
-rw-r--r--src/libstd/old_path/mod.rs4
-rw-r--r--src/libstd/old_path/posix.rs6
-rw-r--r--src/libstd/old_path/windows.rs8
3 files changed, 0 insertions, 18 deletions
diff --git a/src/libstd/old_path/mod.rs b/src/libstd/old_path/mod.rs
index 5fc34c0fe92..fd117838f2f 100644
--- a/src/libstd/old_path/mod.rs
+++ b/src/libstd/old_path/mod.rs
@@ -72,11 +72,7 @@ use iter::IteratorExt;
 use option::Option;
 use option::Option::{None, Some};
 use str;
-#[cfg(stage0)]
-use str::StrExt;
 use string::{String, CowString};
-#[cfg(stage0)]
-use slice::SliceExt;
 use vec::Vec;
 
 /// Typedef for POSIX file paths.
diff --git a/src/libstd/old_path/posix.rs b/src/libstd/old_path/posix.rs
index c42f1e6b07d..4f28e9e44f1 100644
--- a/src/libstd/old_path/posix.rs
+++ b/src/libstd/old_path/posix.rs
@@ -20,13 +20,7 @@ use iter::{Iterator, IteratorExt, Map};
 use marker::Sized;
 use option::Option::{self, Some, None};
 use result::Result::{self, Ok, Err};
-#[cfg(stage0)]
-use slice::{AsSlice, Split, SliceExt, SliceConcatExt};
-#[cfg(not(stage0))]
 use slice::{AsSlice, Split, SliceConcatExt};
-#[cfg(stage0)]
-use str::{self, FromStr, StrExt};
-#[cfg(not(stage0))]
 use str::{self, FromStr};
 use vec::Vec;
 
diff --git a/src/libstd/old_path/windows.rs b/src/libstd/old_path/windows.rs
index 6c5311d859c..ef873265b7b 100644
--- a/src/libstd/old_path/windows.rs
+++ b/src/libstd/old_path/windows.rs
@@ -15,8 +15,6 @@
 use self::PathPrefix::*;
 
 use ascii::AsciiExt;
-#[cfg(stage0)]
-use char::CharExt;
 use clone::Clone;
 use cmp::{Ordering, Eq, Ord, PartialEq, PartialOrd};
 use fmt;
@@ -27,13 +25,7 @@ use iter::{Iterator, IteratorExt, Map, repeat};
 use mem;
 use option::Option::{self, Some, None};
 use result::Result::{self, Ok, Err};
-#[cfg(stage0)]
-use slice::{SliceExt, SliceConcatExt};
-#[cfg(not(stage0))]
 use slice::SliceConcatExt;
-#[cfg(stage0)]
-use str::{SplitTerminator, FromStr, StrExt};
-#[cfg(not(stage0))]
 use str::{SplitTerminator, FromStr};
 use string::{String, ToString};
 use vec::Vec;