Update to the last rust-nightly.
Version of rustc: 0.13.0-nightly (221fc1e3c 2014-10-31 02:27:15 +0000).
This commit is contained in:
parent
36d3e88cb0
commit
eb745df4bc
10
src/lib.rs
10
src/lib.rs
@ -94,11 +94,11 @@ Feel free to add your project to this list if you happen to use **nalgebra**!
|
||||
*/
|
||||
|
||||
#![deny(non_camel_case_types)]
|
||||
#![deny(unnecessary_parens)]
|
||||
#![deny(non_uppercase_statics)]
|
||||
#![deny(unnecessary_qualification)]
|
||||
#![deny(unused_result)]
|
||||
#![warn(missing_doc)]
|
||||
#![deny(unused_parens)]
|
||||
#![deny(non_upper_case_globals)]
|
||||
#![deny(unused_qualifications)]
|
||||
#![deny(unused_results)]
|
||||
#![warn(missing_docs)]
|
||||
#![feature(macro_rules)]
|
||||
#![feature(globs)]
|
||||
#![doc(html_root_url = "http://nalgebra.org/doc")]
|
||||
|
@ -1,6 +1,6 @@
|
||||
//! Matrix with dimensions unknown at compile-time.
|
||||
|
||||
#![allow(missing_doc)] // we hide doc to not have to document the $trhs double dispatch trait.
|
||||
#![allow(missing_docs)] // we hide doc to not have to document the $trhs double dispatch trait.
|
||||
|
||||
use std::cmp;
|
||||
use std::rand::Rand;
|
||||
@ -219,7 +219,7 @@ impl<N: Clone> Indexable<(uint, uint), N> for DMat<N> {
|
||||
assert!(col < self.ncols);
|
||||
|
||||
let offset = self.offset(row, col);
|
||||
*self.mij.get_mut(offset) = val
|
||||
self.mij[offset] = val
|
||||
}
|
||||
|
||||
/// Just like `set` without bounds checking.
|
||||
@ -335,7 +335,7 @@ DMatMulRhs<N, DVec<N>> for DVec<N> {
|
||||
}
|
||||
}
|
||||
|
||||
*res.at.get_mut(i) = acc;
|
||||
res.at[i] = acc;
|
||||
}
|
||||
|
||||
res
|
||||
@ -359,7 +359,7 @@ DVecMulRhs<N, DVec<N>> for DMat<N> {
|
||||
}
|
||||
}
|
||||
|
||||
*res.at.get_mut(i) = acc;
|
||||
res.at[i] = acc;
|
||||
}
|
||||
|
||||
res
|
||||
|
@ -1,6 +1,6 @@
|
||||
//! Vector with dimensions unknown at compile-time.
|
||||
|
||||
#![allow(missing_doc)] // we hide doc to not have to document the $trhs double dispatch trait.
|
||||
#![allow(missing_docs)] // we hide doc to not have to document the $trhs double dispatch trait.
|
||||
|
||||
use std::num::{Zero, One, Float};
|
||||
use std::rand::Rand;
|
||||
|
@ -1,6 +1,6 @@
|
||||
//! Isometric transformations.
|
||||
|
||||
#![allow(missing_doc)]
|
||||
#![allow(missing_docs)]
|
||||
|
||||
use std::num::{Zero, One};
|
||||
use std::rand::{Rand, Rng};
|
||||
|
@ -1,6 +1,6 @@
|
||||
//! Matrices with dimensions known at compile-time.
|
||||
|
||||
#![allow(missing_doc)] // we allow missing to avoid having to document the mij components.
|
||||
#![allow(missing_docs)] // we allow missing to avoid having to document the mij components.
|
||||
|
||||
use std::mem;
|
||||
use std::num::{One, Zero};
|
||||
|
@ -1,6 +1,6 @@
|
||||
//! Points with dimensions known at compile-time.
|
||||
|
||||
#![allow(missing_doc)] // we allow missing to avoid having to document the point components.
|
||||
#![allow(missing_docs)] // we allow missing to avoid having to document the point components.
|
||||
|
||||
use std::mem;
|
||||
use std::num::{Zero, One, Bounded};
|
||||
|
@ -1,6 +1,6 @@
|
||||
//! Quaternion definition.
|
||||
|
||||
#![allow(missing_doc)] // we allow missing to avoid having to document the dispatch trait.
|
||||
#![allow(missing_docs)] // we allow missing to avoid having to document the dispatch trait.
|
||||
|
||||
use std::mem;
|
||||
use std::num::{Zero, One, Bounded};
|
||||
|
@ -1,6 +1,6 @@
|
||||
//! Rotations matrices.
|
||||
|
||||
#![allow(missing_doc)]
|
||||
#![allow(missing_docs)]
|
||||
|
||||
use std::num::{Zero, One};
|
||||
use std::rand::{Rand, Rng};
|
||||
|
@ -1,6 +1,6 @@
|
||||
//! nalgebra trait implementation for primitive types.
|
||||
|
||||
#![allow(missing_doc)]
|
||||
#![allow(missing_docs)]
|
||||
#![allow(non_camel_case_types)]
|
||||
|
||||
use traits::structure::Cast;
|
||||
|
@ -1,6 +1,6 @@
|
||||
//! Vectors with dimensions known at compile-time.
|
||||
|
||||
#![allow(missing_doc)] // we allow missing to avoid having to document the dispatch traits.
|
||||
#![allow(missing_docs)] // we allow missing to avoid having to document the dispatch traits.
|
||||
|
||||
use std::mem;
|
||||
use std::num::{Zero, One, Float, Bounded};
|
||||
|
Loading…
Reference in New Issue
Block a user