diff options
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] | 
