diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2013-01-08 19:29:16 -0800 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2013-01-08 19:29:16 -0800 |
| commit | 44ab00ee37c4ffb8440ff20fd8a15cd24a6f3e46 (patch) | |
| tree | 83f3d67a9e21c6ce1b99c2ce8f6a737896c673db /src/libcore/path.rs | |
| parent | a8d37af2473da79be704c9ce2374f278c47177b6 (diff) | |
| download | rust-44ab00ee37c4ffb8440ff20fd8a15cd24a6f3e46.tar.gz rust-44ab00ee37c4ffb8440ff20fd8a15cd24a6f3e46.zip | |
Revert "librustc: Make unqualified identifier searches terminate at the nearest module scope. r=tjc"
This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6.
Diffstat (limited to 'src/libcore/path.rs')
| -rw-r--r-- | src/libcore/path.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/libcore/path.rs b/src/libcore/path.rs index d1d7d00bab8..115983e5fdb 100644 --- a/src/libcore/path.rs +++ b/src/libcore/path.rs @@ -20,10 +20,8 @@ Cross-platform file path handling use cmp::Eq; use libc; -use option::{None, Option, Some}; use ptr; use str; -use to_str::ToStr; #[deriving_eq] pub struct WindowsPath { @@ -753,8 +751,6 @@ pub pure fn normalize(components: &[~str]) -> ~[~str] { // Various windows helpers, and tests for the impl. pub mod windows { use libc; - use option::{None, Option, Some}; - use to_str::ToStr; #[inline(always)] pub pure fn is_sep(u: u8) -> bool { @@ -797,8 +793,7 @@ pub mod windows { #[cfg(test)] mod tests { - use option::{None, Some}; - use path::{PosixPath, WindowsPath, windows}; + use path::windows; use str; #[test] |
