diff --git a/src/dvec.rs b/src/dvec.rs index 9d16988e..50ca0c2f 100644 --- a/src/dvec.rs +++ b/src/dvec.rs @@ -2,7 +2,7 @@ use std::num::{Zero, One, Algebraic}; use std::vec; use std::vec::{VecIterator, VecMutIterator}; use std::cmp::ApproxEq; -use std::iterator::FromIterator; +use std::iter::FromIterator; use traits::dot::Dot; use traits::norm::Norm; use traits::iterable::{Iterable, IterableMut}; diff --git a/src/vec.rs b/src/vec.rs index 228836a0..5f11ef29 100644 --- a/src/vec.rs +++ b/src/vec.rs @@ -2,7 +2,7 @@ use std::cast; use std::num::{Zero, One, Algebraic, Bounded}; use std::rand::Rng; use std::vec::{VecIterator, VecMutIterator}; -use std::iterator::{Iterator, FromIterator}; +use std::iter::{Iterator, FromIterator}; use std::cmp::ApproxEq; use traits::translation::{Translation, Translate}; diff --git a/src/vec0_spec.rs b/src/vec0_spec.rs index 84585ef0..471b6d7b 100644 --- a/src/vec0_spec.rs +++ b/src/vec0_spec.rs @@ -1,7 +1,7 @@ use std::cast; use std::num::{Zero, One, Algebraic, Bounded}; use std::vec::{VecIterator, VecMutIterator}; -use std::iterator::{Iterator, FromIterator}; +use std::iter::{Iterator, FromIterator}; use std::cmp::ApproxEq; use traits::iterable::{Iterable, IterableMut}; use traits::basis::Basis;