From 00f26f895198e6701a067d04894bc51d6bdb04ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Crozet?= Date: Mon, 9 Sep 2013 11:19:54 +0200 Subject: [PATCH] Replace std::iterator by std::iter. --- src/dvec.rs | 2 +- src/vec.rs | 2 +- src/vec0_spec.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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;