diff options
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); |
