Clippy lint fixes

This commit is contained in:
2023-01-18 19:05:41 +01:00
parent 4c5c0305e4
commit 909e15572e
6 changed files with 17 additions and 18 deletions

View File

@@ -258,7 +258,7 @@ mod approx {
fn default_epsilon() -> Self::Epsilon {
T::default_epsilon()
}
fn abs_diff_eq(&self, other: &Self, epsilon: Self::Epsilon) -> bool {
fn abs_diff_eq(&self, other: &Self, _epsilon: Self::Epsilon) -> bool {
self.iter()
.zip(other.iter())
.all(|(r, l)| r.abs_diff_eq(l, T::default_epsilon()))