diff --git a/.travis.yml b/.travis.yml index a121417..7a35ce5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,9 @@ language: rust +rust: + - 1.15.1 + - stable + - beta + - nightly notifications: webhooks: http://build.servo.org:54856/travis diff --git a/Cargo.toml b/Cargo.toml index 536ef14..0bbd7c5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "euclid" -version = "0.14.3" +version = "0.14.4" authors = ["The Servo Project Developers"] description = "Geometry primitives" documentation = "https://docs.rs/euclid/" diff --git a/src/rect.rs b/src/rect.rs index d1c2e74..4e9592b 100644 --- a/src/rect.rs +++ b/src/rect.rs @@ -69,7 +69,7 @@ impl Clone for TypedRect { fn clone(&self) -> Self { *self } } -impl PartialEq for TypedRect { +impl PartialEq> for TypedRect { fn eq(&self, other: &Self) -> bool { self.origin.eq(&other.origin) && self.size.eq(&other.size) } diff --git a/src/vector.rs b/src/vector.rs index 03629ac..141306b 100644 --- a/src/vector.rs +++ b/src/vector.rs @@ -179,7 +179,7 @@ impl, U> AddAssign for TypedVector2D { } } -impl, U> SubAssign for TypedVector2D { +impl, U> SubAssign> for TypedVector2D { #[inline] fn sub_assign(&mut self, other: Self) { *self = *self - other @@ -349,7 +349,7 @@ impl TypedVector2D { } } -impl, U> ApproxEq for TypedVector2D { +impl, U> ApproxEq> for TypedVector2D { #[inline] fn approx_epsilon() -> Self { vec2(T::approx_epsilon(), T::approx_epsilon()) @@ -551,7 +551,7 @@ impl, U> AddAssign for TypedVector3D { } } -impl, U> SubAssign for TypedVector3D { +impl, U> SubAssign> for TypedVector3D { #[inline] fn sub_assign(&mut self, other: Self) { *self = *self - other @@ -696,7 +696,7 @@ impl TypedVector3D { } } -impl, U> ApproxEq for TypedVector3D { +impl, U> ApproxEq> for TypedVector3D { #[inline] fn approx_epsilon() -> Self { vec3(T::approx_epsilon(), T::approx_epsilon(), T::approx_epsilon())