Merge pull request #5 from cacteye/patch-1

Update to latest rust.
This commit is contained in:
Sébastien Crozet 2014-03-14 20:41:07 +01:00
commit f2ec77e83c
10 changed files with 13 additions and 12 deletions

View File

@ -1,4 +1,4 @@
use std::rand::random;
use rand::random;
use test::BenchHarness;
use na::{Vec2, Vec3, Vec4, Vec5, Vec6, DVec, Mat2, Mat3, Mat4, Mat5, Mat6, DMat};

View File

@ -1,4 +1,4 @@
use std::rand::random;
use rand::random;
use test::BenchHarness;
use na::{Vec2, Vec3, Vec4, Vec5, Vec6};
use na;

View File

@ -111,6 +111,7 @@ Feel free to add your project to this list if you happen to use **nalgebra**!
extern crate std;
extern crate extra;
extern crate rand;
extern crate serialize;
#[cfg(test)]

View File

@ -2,8 +2,8 @@
#[allow(missing_doc)]; // we hide doc to not have to document the $trhs double dispatch trait.
use std::rand::Rand;
use std::rand;
use rand::Rand;
use rand;
use std::num::{One, Zero};
use std::vec;
use traits::operations::ApproxEq;

View File

@ -3,8 +3,8 @@
#[allow(missing_doc)]; // we hide doc to not have to document the $trhs double dispatch trait.
use std::num::{Zero, One, Float};
use std::rand::Rand;
use std::rand;
use rand::Rand;
use rand;
use std::vec;
use std::vec::{Items, MutItems};
use traits::operations::ApproxEq;

View File

@ -3,7 +3,7 @@
#[allow(missing_doc)];
use std::num::{Zero, One};
use std::rand::{Rand, Rng};
use rand::{Rand, Rng};
use structs::mat::{Mat3, Mat4, Mat5};
use traits::structure::{Cast, Dim, Col};
use traits::operations::{Inv, ApproxEq};

View File

@ -1,5 +1,5 @@
use std::rand::Rand;
use std::rand;
use rand::Rand;
use rand;
use std::num::{One, Zero};
use std::vec;

View File

@ -3,7 +3,7 @@
#[allow(missing_doc)];
use std::num::{Zero, One};
use std::rand::{Rand, Rng};
use rand::{Rand, Rng};
use traits::geometry::{Rotate, Rotation, AbsoluteRotate, RotationMatrix, Transform, ToHomogeneous,
Norm, Cross};
use traits::structure::{Cast, Dim, Row, Col};

View File

@ -1,5 +1,5 @@
use std::num::{Float, abs};
use std::rand::random;
use rand::random;
use na::{Vec1, Vec3, Mat1, Mat2, Mat3, Mat4, Mat5, Mat6, Rot3, DMat, DVec, Indexable};
use na;

View File

@ -1,4 +1,4 @@
use std::rand::{random};
use rand::random;
use na::{Vec0, Vec1, Vec2, Vec3, Vec4, Vec5, Vec6};
use na::{Mat3, Iterable, IterableMut}; // FIXME: get rid of that
use na;