From 503b567b2726631828a1f15b15617b6362df31a5 Mon Sep 17 00:00:00 2001 From: Peter Nguyen Date: Thu, 13 Mar 2014 18:20:04 -0400 Subject: [PATCH] Update to latest Rust. Version of rustc: rustc 0.10-pre (4d64441 2014-03-12 15:07:06 -0700) --- src/bench/mat.rs | 2 +- src/bench/vec.rs | 2 +- src/tests/mat.rs | 2 +- src/tests/vec.rs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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;