10000 Fix clippy::needless_update lint · brendanzab/approx@3991701 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3991701

Browse files
committed
Fix clippy::needless_update lint
1 parent 435e44e commit 3991701

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ where
218218
/// Replace the epsilon value with the one specified.
219219
#[inline]
220220
pub fn epsilon(self, epsilon: A::Epsilon) -> AbsDiff<A, B> {
221-
AbsDiff { epsilon, ..self }
221+
AbsDiff { epsilon }
222222
}
223223

224224
/// Peform the equality comparison

0 commit comments

Comments
 (0)
0