about summary refs log tree commit diff
path: root/src/libstd/path
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd/path')
-rw-r--r--src/libstd/path/posix.rs1
-rw-r--r--src/libstd/path/windows.rs7
2 files changed, 5 insertions, 3 deletions
diff --git a/src/libstd/path/posix.rs b/src/libstd/path/posix.rs
index da4576ca36d..5c415239c5e 100644
--- a/src/libstd/path/posix.rs
+++ b/src/libstd/path/posix.rs
@@ -449,7 +449,6 @@ static dot_dot_static: &'static [u8] = b"..";
 mod tests {
     use prelude::v1::*;
     use str;
-    use super::*;
 
     macro_rules! t {
         (s: $path:expr, $exp:expr) => (
diff --git a/src/libstd/path/windows.rs b/src/libstd/path/windows.rs
index e6fea07b3aa..9117827ffc2 100644
--- a/src/libstd/path/windows.rs
+++ b/src/libstd/path/windows.rs
@@ -1119,10 +1119,13 @@ fn prefix_len(p: Option<PathPrefix>) -> uint {
 
 #[cfg(test)]
 mod tests {
-    use prelude::v1::*;
-    use super::*;
+    use prelude::v1::Option::{mod, Some, None};
+    use prelude::v1::{Vec, Clone, AsSlice, SliceExt, CloneSliceExt, IteratorExt};
+    use prelude::v1::{DoubleEndedIteratorExt, Str, ToString, GenericPath};
+
     use super::PathPrefix::*;
     use super::parse_prefix;
+    use super::*;
 
     macro_rules! t {
         (s: $path:expr, $exp:expr) => (