about summary refs log tree commit diff
path: root/src/libstd/path
diff options
context:
space:
mode:
authorNick Cameron <ncameron@mozilla.com>2014-11-28 16:02:33 +1300
committerNick Cameron <ncameron@mozilla.com>2014-12-27 09:55:25 +1300
commitdbde7419cc120d97e520063682751dfc3a901fb5 (patch)
treebd0b9b6edbf79b4525409781f625bfbc51ae9a76 /src/libstd/path
parentdf0c6d93852c51b6936d4b72b6b4be5f1932fb8a (diff)
downloadrust-dbde7419cc120d97e520063682751dfc3a901fb5.tar.gz
rust-dbde7419cc120d97e520063682751dfc3a901fb5.zip
Fix fallout
Diffstat (limited to 'src/libstd/path')
-rw-r--r--src/libstd/path/posix.rs2
-rw-r--r--src/libstd/path/windows.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/path/posix.rs b/src/libstd/path/posix.rs
index f0a00b421c3..c72e41d61c0 100644
--- a/src/libstd/path/posix.rs
+++ b/src/libstd/path/posix.rs
@@ -447,8 +447,8 @@ static dot_dot_static: &'static [u8] = b"..";
 
 #[cfg(test)]
 mod tests {
-    use prelude::*;
     use super::*;
+    use prelude::*;
     use str;
 
     macro_rules! t {
diff --git a/src/libstd/path/windows.rs b/src/libstd/path/windows.rs
index 7d10188c437..278908b8068 100644
--- a/src/libstd/path/windows.rs
+++ b/src/libstd/path/windows.rs
@@ -1121,7 +1121,7 @@ fn prefix_len(p: Option<PathPrefix>) -> uint {
 
 #[cfg(test)]
 mod tests {
-    use prelude::*;
+    use mem;
     use super::*;
     use super::PathPrefix::*;
     use super::parse_prefix;