clippy: fix clippy::eq_op error (false positive)

This commit is contained in:
Philippe Renon 2020-10-25 18:38:50 +01:00
parent 74f01d2538
commit d990aff44e

View File

@ -389,6 +389,7 @@ where
/// ```
#[inline]
pub fn outer(&self, other: &Self) -> Self {
#[allow(clippy::eq_op)]
(self * other - other * self).half()
}