diff --git a/src/bench/mat.rs b/src/bench/mat.rs index ec782c99..0cdfa2bf 100644 --- a/src/bench/mat.rs +++ b/src/bench/mat.rs @@ -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}; diff --git a/src/bench/vec.rs b/src/bench/vec.rs index c4833fda..900a5cf7 100644 --- a/src/bench/vec.rs +++ b/src/bench/vec.rs @@ -1,4 +1,4 @@ -use std::rand::random; +use rand::random; use test::BenchHarness; use na::{Vec2, Vec3, Vec4, Vec5, Vec6}; use na; diff --git a/src/tests/mat.rs b/src/tests/mat.rs index f34a004c..6d623bdc 100644 --- a/src/tests/mat.rs +++ b/src/tests/mat.rs @@ -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; diff --git a/src/tests/vec.rs b/src/tests/vec.rs index ea78040b..d88e85e2 100644 --- a/src/tests/vec.rs +++ b/src/tests/vec.rs @@ -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;