about summary refs log tree commit diff
path: root/src/libstd/iterator.rs
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2013-05-24 19:35:29 -0700
committerPatrick Walton <pcwalton@mimiga.net>2013-05-29 19:04:53 -0700
commit206ab89629298cc9f4b6fb0aa1cd7556c65b5bfe (patch)
tree6a899250550f71bf26f5d57e3cbeee8b97661c9f /src/libstd/iterator.rs
parent4e3d4b36dc3a030bb5f152afbfccfd4427830dac (diff)
downloadrust-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.rs8
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);