diff --git a/src/mat2.rs b/src/mat2.rs index 245bcc2..aaf1384 100644 --- a/src/mat2.rs +++ b/src/mat2.rs @@ -43,7 +43,7 @@ use mat::{ * * `y` - the second column vector of the matrix * * `z` - the third column vector of the matrix */ -#[deriving_eq] +#[deriving(Eq)] pub struct Mat2 { x: Vec2, y: Vec2 } impl + Add + Sub + Mul + Div + Neg> Matrix> for Mat2 { diff --git a/src/mat3.rs b/src/mat3.rs index 347eeef..67cf467 100644 --- a/src/mat3.rs +++ b/src/mat3.rs @@ -45,7 +45,7 @@ use mat::{ * * `y` - the second column vector of the matrix * * `z` - the third column vector of the matrix */ -#[deriving_eq] +#[deriving(Eq)] pub struct Mat3 { x: Vec3, y: Vec3, z: Vec3 } impl + Add + Sub + Mul + Div + Neg> Matrix> for Mat3 { diff --git a/src/mat4.rs b/src/mat4.rs index b4283db..5f3c16a 100644 --- a/src/mat4.rs +++ b/src/mat4.rs @@ -42,7 +42,7 @@ use mat::{ * * `z` - the third column vector of the matrix * * `w` - the fourth column vector of the matrix */ -#[deriving_eq] +#[deriving(Eq)] pub struct Mat4 { x: Vec4, y: Vec4, z: Vec4, w: Vec4 } impl + Add + Sub + Mul + Div + Neg> Matrix> for Mat4 { diff --git a/src/quat.rs b/src/quat.rs index dd5170c..5ce31e4 100644 --- a/src/quat.rs +++ b/src/quat.rs @@ -45,7 +45,7 @@ use vec::{ * * `s` - the scalar component * * `v` - a vector containing the three imaginary components */ -#[deriving_eq] +#[deriving(Eq)] pub struct Quat { s: T, v: Vec3 } impl + Add + Sub + Mul + Div + Neg> Quat { diff --git a/src/vec2.rs b/src/vec2.rs index 27c7e58..3e8ea5f 100644 --- a/src/vec2.rs +++ b/src/vec2.rs @@ -40,7 +40,7 @@ use vec::{ * * `x` - the first component of the vector * * `y` - the second component of the vector */ - #[deriving_eq] + #[deriving(Eq)] pub struct Vec2 { x: T, y: T } impl Vector for Vec2 { diff --git a/src/vec3.rs b/src/vec3.rs index 606fd98..ecd6cef 100644 --- a/src/vec3.rs +++ b/src/vec3.rs @@ -42,7 +42,7 @@ use vec::{ * * `y` - the second component of the vector * * `z` - the third component of the vector */ -#[deriving_eq] +#[deriving(Eq)] pub struct Vec3 { x: T, y: T, z: T } impl Vector for Vec3 { diff --git a/src/vec4.rs b/src/vec4.rs index 4bbae87..c7aa91f 100644 --- a/src/vec4.rs +++ b/src/vec4.rs @@ -40,7 +40,7 @@ use vec::{ * * `z` - the third component of the vector * * `w` - the fourth component of the vector */ -#[deriving_eq] +#[deriving(Eq)] pub struct Vec4 { x: T, y: T, z: T, w: T } impl Vector for Vec4 {