diff --git a/src/transform2d.rs b/src/transform2d.rs index 96b8e5f..8d23e99 100644 --- a/src/transform2d.rs +++ b/src/transform2d.rs @@ -179,7 +179,7 @@ impl Transform2D { where T: ApproxEq, { - >::approx_eq(&self, &other) + >::approx_eq(self, other) } /// Returns `true` if this transform is approximately equal to the other one, using @@ -191,7 +191,7 @@ impl Transform2D { where T: ApproxEq, { - >::approx_eq_eps(&self, &other, &eps) + >::approx_eq_eps(self, other, eps) } } diff --git a/src/transform3d.rs b/src/transform3d.rs index 936ebc3..52b1e32 100644 --- a/src/transform3d.rs +++ b/src/transform3d.rs @@ -1116,7 +1116,7 @@ impl, Src, Dst> Transform3D { /// The same as [`ApproxEq::approx_eq`] but available without importing trait. #[inline] pub fn approx_eq(&self, other: &Self) -> bool { - >::approx_eq(&self, &other) + >::approx_eq(self, other) } /// Returns `true` if this transform is approximately equal to the other one, using @@ -1125,7 +1125,7 @@ impl, Src, Dst> Transform3D { /// The same as [`ApproxEq::approx_eq_eps`] but available without importing trait. #[inline] pub fn approx_eq_eps(&self, other: &Self, eps: &T) -> bool { - >::approx_eq_eps(&self, &other, &eps) + >::approx_eq_eps(self, other, eps) } }