diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2013-05-24 19:35:29 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2013-05-29 19:04:53 -0700 |
| commit | 206ab89629298cc9f4b6fb0aa1cd7556c65b5bfe (patch) | |
| tree | 6a899250550f71bf26f5d57e3cbeee8b97661c9f /src/libstd/iterator.rs | |
| parent | 4e3d4b36dc3a030bb5f152afbfccfd4427830dac (diff) | |
| download | rust-206ab89629298cc9f4b6fb0aa1cd7556c65b5bfe.tar.gz rust-206ab89629298cc9f4b6fb0aa1cd7556c65b5bfe.zip | |
librustc: Stop reexporting the standard modules from prelude.
Diffstat (limited to 'src/libstd/iterator.rs')
| -rw-r--r-- | src/libstd/iterator.rs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/libstd/iterator.rs b/src/libstd/iterator.rs index a5679e6dbff..69bb1b0b766 100644 --- a/src/libstd/iterator.rs +++ b/src/libstd/iterator.rs @@ -17,8 +17,11 @@ implementing the `Iterator` trait. */ -use prelude::*; +use cmp; +use iter; use num::{Zero, One}; +use num; +use prelude::*; pub trait Iterator<A> { /// Advance the iterator and return the next value. Return `None` when the end is reached. @@ -506,6 +509,9 @@ mod tests { use super::*; use prelude::*; + use iter; + use uint; + #[test] fn test_counter_to_vec() { let mut it = Counter::new(0, 5).take(10); |
