diff options
| author | Nick Cameron <ncameron@mozilla.com> | 2015-01-28 14:54:25 +1300 |
|---|---|---|
| committer | Nick Cameron <ncameron@mozilla.com> | 2015-01-30 12:00:20 +1300 |
| commit | c64a96d385fb3b23c6744cf8d927c9c175936b5f (patch) | |
| tree | 6ca5688c381c664a4b62539d917549cb59ecd55e /src/libcore/array.rs | |
| parent | a9d465fec902588b71937de96e66d160d2adebf5 (diff) | |
| download | rust-c64a96d385fb3b23c6744cf8d927c9c175936b5f.tar.gz rust-c64a96d385fb3b23c6744cf8d927c9c175936b5f.zip | |
Remove FullRange from the prelude etc.
Diffstat (limited to 'src/libcore/array.rs')
| -rw-r--r-- | src/libcore/array.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libcore/array.rs b/src/libcore/array.rs index 44541c34ee2..a81615944fb 100644 --- a/src/libcore/array.rs +++ b/src/libcore/array.rs @@ -19,7 +19,10 @@ use cmp::{PartialEq, Eq, PartialOrd, Ord, Ordering}; use fmt; use hash::{Hash, Hasher, self}; use marker::Copy; +#[cfg(stage0)] use ops::{Deref, FullRange}; +#[cfg(not(stage0))] +use ops::Deref; use option::Option; // macro for implementing n-ary tuple functions and operations |
