Skip to content

Commit cadee2b

Browse files
committed
Remove unnecessary closure
1 parent e7600e8 commit cadee2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/impl_methods.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ where
217217
)
218218
}
219219
} else {
220-
self.map(|x| x.clone())
220+
self.map(A::clone)
221221
}
222222
}
223223

0 commit comments

Comments
 (0)