diff options
| author | bors <bors@rust-lang.org> | 2014-12-27 00:48:41 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-12-27 00:48:41 +0000 |
| commit | 3c60bc02ce6de2823d0b837f90d5db0077fce6f7 (patch) | |
| tree | 465805adb25fba470b8da95ff820a363f32a8dee /src/libstd/path | |
| parent | c06edbad34f2f8f2fa5138e855a442db1c6324d1 (diff) | |
| parent | 4b92a5a229ebe7635851fc7bad94108f9de8dcc6 (diff) | |
| download | rust-3c60bc02ce6de2823d0b837f90d5db0077fce6f7.tar.gz rust-3c60bc02ce6de2823d0b837f90d5db0077fce6f7.zip | |
auto merge of #19254 : nick29581/rust/dxr-glob, r=pcwalton
There is also some work here to make resolve a bit more stable - it no longer overwrites a specific import with a glob import. r?
Diffstat (limited to 'src/libstd/path')
| -rw-r--r-- | src/libstd/path/posix.rs | 4 | ||||
| -rw-r--r-- | src/libstd/path/windows.rs | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/libstd/path/posix.rs b/src/libstd/path/posix.rs index f0a00b421c3..d941665f048 100644 --- a/src/libstd/path/posix.rs +++ b/src/libstd/path/posix.rs @@ -447,8 +447,10 @@ static dot_dot_static: &'static [u8] = b".."; #[cfg(test)] mod tests { - use prelude::*; use super::*; + 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 7d10188c437..12da1752adf 100644 --- a/src/libstd/path/windows.rs +++ b/src/libstd/path/windows.rs @@ -1121,8 +1121,10 @@ fn prefix_len(p: Option<PathPrefix>) -> uint { #[cfg(test)] mod tests { - use prelude::*; 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; |
