diff options
| author | Jorge Aparicio <japaricious@gmail.com> | 2015-03-10 23:13:29 -0500 |
|---|---|---|
| committer | Jorge Aparicio <japaricious@gmail.com> | 2015-03-16 21:56:31 -0500 |
| commit | 633c593bc3f9787decfaf943cdc5659f132ade50 (patch) | |
| tree | a2fbb04334457b3f8fdbe47690c40b5e8835529f /src/libstd/old_path | |
| parent | 5b118f5ecde796ad62fa349a045d7ad8129b711c (diff) | |
| download | rust-633c593bc3f9787decfaf943cdc5659f132ade50.tar.gz rust-633c593bc3f9787decfaf943cdc5659f132ade50.zip | |
impl<T> [T]
Diffstat (limited to 'src/libstd/old_path')
| -rw-r--r-- | src/libstd/old_path/mod.rs | 1 | ||||
| -rw-r--r-- | src/libstd/old_path/posix.rs | 3 | ||||
| -rw-r--r-- | src/libstd/old_path/windows.rs | 3 |
3 files changed, 7 insertions, 0 deletions
diff --git a/src/libstd/old_path/mod.rs b/src/libstd/old_path/mod.rs index 3f9cfbd2a07..37875658ae0 100644 --- a/src/libstd/old_path/mod.rs +++ b/src/libstd/old_path/mod.rs @@ -75,6 +75,7 @@ use str; #[cfg(stage0)] use str::StrExt; use string::{String, CowString}; +#[cfg(stage0)] use slice::SliceExt; use vec::Vec; diff --git a/src/libstd/old_path/posix.rs b/src/libstd/old_path/posix.rs index 790dd87ae91..9ac7512c00b 100644 --- a/src/libstd/old_path/posix.rs +++ b/src/libstd/old_path/posix.rs @@ -20,7 +20,10 @@ use iter::{Iterator, IteratorExt, Map}; use marker::Sized; use option::Option::{self, Some, None}; use result::Result::{self, Ok, Err}; +#[cfg(stage0)] use slice::{AsSlice, Split, SliceExt, SliceConcatExt}; +#[cfg(not(stage0))] +use slice::{AsSlice, Split, SliceConcatExt}; #[cfg(stage0)] use str::{self, FromStr, StrExt}; #[cfg(not(stage0))] diff --git a/src/libstd/old_path/windows.rs b/src/libstd/old_path/windows.rs index 4e36befefe8..b74bee1242d 100644 --- a/src/libstd/old_path/windows.rs +++ b/src/libstd/old_path/windows.rs @@ -27,7 +27,10 @@ use iter::{Iterator, IteratorExt, Map, repeat}; use mem; use option::Option::{self, Some, None}; use result::Result::{self, Ok, Err}; +#[cfg(stage0)] use slice::{SliceExt, SliceConcatExt}; +#[cfg(not(stage0))] +use slice::SliceConcatExt; #[cfg(stage0)] use str::{SplitTerminator, FromStr, StrExt}; #[cfg(not(stage0))] |
