From 915d8c057ee02046a1c602fd0bcc7717db09d824 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Crozet?= Date: Fri, 21 Mar 2014 21:57:58 +0100 Subject: [PATCH] Update to the last Rust. Version of rustc: 0.10-pre (7b957a8 2014-03-21 08:21:51 -0700) --- src/structs/dmat.rs | 2 +- src/structs/dvec.rs | 4 ++-- src/structs/mat.rs | 2 +- src/structs/spec/vec0.rs | 2 +- src/structs/vec.rs | 4 ++-- src/traits/structure.rs | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/structs/dmat.rs b/src/structs/dmat.rs index 05e1d22e..cd9d2f4d 100644 --- a/src/structs/dmat.rs +++ b/src/structs/dmat.rs @@ -5,7 +5,7 @@ use rand::Rand; use rand; use std::num::{One, Zero}; -use std::vec_ng::Vec; +use std::vec::Vec; use traits::operations::ApproxEq; use std::mem; use structs::dvec::{DVec, DVecMulRhs}; diff --git a/src/structs/dvec.rs b/src/structs/dvec.rs index 2cceb869..9faad38b 100644 --- a/src/structs/dvec.rs +++ b/src/structs/dvec.rs @@ -5,8 +5,8 @@ use std::num::{Zero, One, Float}; use rand::Rand; use rand; -use std::vec_ng::Vec; -use std::vec::{Items, MutItems}; +use std::vec::Vec; +use std::slice::{Items, MutItems}; use traits::operations::ApproxEq; use std::iter::FromIterator; use traits::geometry::{Dot, Norm}; diff --git a/src/structs/mat.rs b/src/structs/mat.rs index e885da3a..00bad228 100644 --- a/src/structs/mat.rs +++ b/src/structs/mat.rs @@ -5,7 +5,7 @@ use std::cast; use std::num::{One, Zero}; use traits::operations::ApproxEq; -use std::vec::{Items, MutItems}; +use std::slice::{Items, MutItems}; use structs::vec::{Vec1, Vec2, Vec3, Vec4, Vec5, Vec6, Vec1MulRhs, Vec4MulRhs, Vec5MulRhs, Vec6MulRhs}; diff --git a/src/structs/spec/vec0.rs b/src/structs/spec/vec0.rs index a1572c48..38a05e4f 100644 --- a/src/structs/spec/vec0.rs +++ b/src/structs/spec/vec0.rs @@ -1,6 +1,6 @@ use std::cast; use std::num::{Zero, One, Float, Bounded}; -use std::vec::{Items, MutItems}; +use std::slice::{Items, MutItems}; use std::iter::{Iterator, FromIterator}; use traits::operations::ApproxEq; use traits::structure::{Iterable, IterableMut, Indexable, Basis, Dim}; diff --git a/src/structs/vec.rs b/src/structs/vec.rs index d73f070f..259f4dd5 100644 --- a/src/structs/vec.rs +++ b/src/structs/vec.rs @@ -4,8 +4,8 @@ use std::cast; use std::num::{Zero, One, Float, Bounded}; -use std::vec_ng::Vec; -use std::vec::{Items, MutItems}; +use std::vec::Vec; +use std::slice::{Items, MutItems}; use std::iter::{Iterator, FromIterator}; use traits::operations::{ApproxEq, PartialOrd, PartialOrdering, Less, Equal, Greater, NotComparable}; diff --git a/src/traits/structure.rs b/src/traits/structure.rs index 360e9748..9dab3b68 100644 --- a/src/traits/structure.rs +++ b/src/traits/structure.rs @@ -1,7 +1,7 @@ //! Traits giving structural informations on linear algebra objects or the space they live in. use std::num::{Zero, Bounded}; -use std::vec::{Items, MutItems}; +use std::slice::{Items, MutItems}; use traits::operations::{RMul, LMul, ScalarAdd, ScalarSub}; use traits::geometry::{Dot, Norm, UniformSphereSample};