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
1 changed files with 1 additions and 0 deletions

View File

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