librustc: Stop reexporting the standard modules from prelude.

This commit is contained in:
Patrick Walton
2013-05-24 19:35:29 -07:00
parent 4e3d4b36dc
commit 206ab89629
598 changed files with 1873 additions and 455 deletions

View File

@@ -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);