diff --git a/src/geometry/dual_quaternion_ops.rs b/src/geometry/dual_quaternion_ops.rs index 17644302..d6cb35b6 100644 --- a/src/geometry/dual_quaternion_ops.rs +++ b/src/geometry/dual_quaternion_ops.rs @@ -977,7 +977,7 @@ dual_quaternion_op_impl!( DivAssign, div_assign; (U4, U1), (U4, U1); self: UnitDualQuaternion, rhs: &'b UnitQuaternion; - #[allow(clippy::suspicious_arithmetic_impl)] + #[allow(clippy::suspicious_op_assign_impl)] { let res = &*self * UnitDualQuaternion::from_rotation(rhs.inverse()); self.as_mut_unchecked().real.coords.copy_from(&res.as_ref().real.coords); @@ -1013,7 +1013,7 @@ dual_quaternion_op_impl!( DivAssign, div_assign; (U4, U1), (U4, U1); self: UnitDualQuaternion, rhs: &'b Translation3; - #[allow(clippy::suspicious_arithmetic_impl)] + #[allow(clippy::suspicious_op_assign_impl)] { let res = &*self * UnitDualQuaternion::from_parts(rhs.inverse(), UnitQuaternion::identity()); self.as_mut_unchecked().real.coords.copy_from(&res.as_ref().real.coords); diff --git a/tests/geometry/dual_quaternion.rs b/tests/geometry/dual_quaternion.rs index 9cfca879..727e6aa1 100644 --- a/tests/geometry/dual_quaternion.rs +++ b/tests/geometry/dual_quaternion.rs @@ -25,7 +25,7 @@ quickcheck!( fn multiply_equals_alga_transform( dq: UnitDualQuaternion, v: Vector3, - p: Point3, + p: Point3 ) -> bool { dq * v == dq.transform_vector(&v) && dq * p == dq.transform_point(&p)