From d990aff44e68869719251d564ffe9a4beac9c1f8 Mon Sep 17 00:00:00 2001 From: Philippe Renon Date: Sun, 25 Oct 2020 18:38:50 +0100 Subject: [PATCH] clippy: fix clippy::eq_op error (false positive) --- src/geometry/quaternion.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/geometry/quaternion.rs b/src/geometry/quaternion.rs index 22ee5309b..69d549670 100755 --- a/src/geometry/quaternion.rs +++ b/src/geometry/quaternion.rs @@ -389,6 +389,7 @@ where /// ``` #[inline] pub fn outer(&self, other: &Self) -> Self { + #[allow(clippy::eq_op)] (self * other - other * self).half() }