We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
clippy::needless_borrow
Inv
1 parent 69ba649 commit e367f3aCopy full SHA for e367f3a
src/lib.rs
@@ -1006,7 +1006,7 @@ impl<T: Clone + Num + Neg<Output = T>> Inv for Complex<T> {
1006
1007
#[inline]
1008
fn inv(self) -> Self::Output {
1009
- (&self).inv()
+ Complex::inv(&self)
1010
}
1011
1012
@@ -1015,7 +1015,7 @@ impl<'a, T: Clone + Num + Neg<Output = T>> Inv for &'a Complex<T> {
1015
1016
1017
1018
- self.inv()
+ Complex::inv(self)
1019
1020
1021
0 commit comments