From 410bbd1d2572665fafc7420479ba4d1c170fb50f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Crozet?= Date: Sun, 22 Sep 2013 21:12:50 +0200 Subject: [PATCH] Update to the last Rust api. RngUtils is dead. rustdoc_ng became rustdoc. --- Makefile | 2 +- src/adaptors/rotmat.rs | 2 +- src/adaptors/transform.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 449ab97e..0e07ef63 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ bench: doc: mkdir -p $(nalgebra_doc_path) - rustdoc_ng html src/lib.rs + rustdoc html src/lib.rs distcheck: rm -rf $(tmp) diff --git a/src/adaptors/rotmat.rs b/src/adaptors/rotmat.rs index 64e04b89..f84e2753 100644 --- a/src/adaptors/rotmat.rs +++ b/src/adaptors/rotmat.rs @@ -1,5 +1,5 @@ use std::num::{One, Zero}; -use std::rand::{Rand, Rng, RngUtil}; +use std::rand::{Rand, Rng}; use std::cmp::ApproxEq; use traits::geometry::{Cross, Rotation, Rotate, RotationMatrix, AbsoluteRotate, Transform, ToHomogeneous, Norm}; diff --git a/src/adaptors/transform.rs b/src/adaptors/transform.rs index 1535b0f3..67b3f218 100644 --- a/src/adaptors/transform.rs +++ b/src/adaptors/transform.rs @@ -1,5 +1,5 @@ use std::num::{One, Zero}; -use std::rand::{Rand, Rng, RngUtil}; +use std::rand::{Rand, Rng}; use std::cmp::ApproxEq; use traits::structure::{Dim, Mat, Col}; use traits::operations::{Absolute, Inv, RMul};