Fix to work with the last Rust deriving.

This commit is contained in:
Sébastien Crozet 2013-08-13 10:57:19 +02:00
parent a46b063192
commit 24e1862a9e
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ use traits::translation::{Translation, Translatable};
use traits::scalar_op::{ScalarMul, ScalarDiv, ScalarAdd, ScalarSub}; use traits::scalar_op::{ScalarMul, ScalarDiv, ScalarAdd, ScalarSub};
/// Vector with a dimension unknown at compile-time. /// Vector with a dimension unknown at compile-time.
#[deriving(Eq, Ord, ToStr, Clone)] #[deriving(Eq, ToStr, Clone)]
pub struct DVec<N> { pub struct DVec<N> {
/// Components of the vector. Contains as much elements as the vector dimension. /// Components of the vector. Contains as much elements as the vector dimension.
at: ~[N] at: ~[N]