From d8080e59b46648b27350ac08e3a537d9200d8844 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 positives) --- 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() }