From e672d006a4a3167a7d1e98fcd1408e4f31fccbba Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Fri, 25 Mar 2016 16:39:26 -0700 Subject: [PATCH] iter: update testing imports --- iter/src/lib.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/iter/src/lib.rs b/iter/src/lib.rs index 8f567d7..76fafbd 100644 --- a/iter/src/lib.rs +++ b/iter/src/lib.rs @@ -31,11 +31,9 @@ pub struct Range { /// # Example /// /// ```rust -/// use num::iter; -/// /// let array = [0, 1, 2, 3, 4]; /// -/// for i in iter::range(0, 5) { +/// for i in num_iter::range(0, 5) { /// println!("{}", i); /// assert_eq!(i, array[i]); /// } @@ -265,7 +263,7 @@ mod tests { use std::usize; use std::ops::{Add, Mul}; use std::cmp::Ordering; - use {One, ToPrimitive}; + use traits::{One, ToPrimitive}; #[test] fn test_range() {