Skip to content

Commit 7c0731b

Browse files
committed
Fix a clippy lint about an unnecessary lifetime
1 parent cd62300 commit 7c0731b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/unstructured.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -752,7 +752,7 @@ pub struct ArbitraryIter<'a, 'b, ElementType> {
752752
_marker: PhantomData<ElementType>,
753753
}
754754

755-
impl<'a, 'b, ElementType: Arbitrary<'a>> Iterator for ArbitraryIter<'a, 'b, ElementType> {
755+
impl<'a, ElementType: Arbitrary<'a>> Iterator for ArbitraryIter<'a, '_, ElementType> {
756756
type Item = Result<ElementType>;
757757
fn next(&mut self) -> Option<Result<ElementType>> {
758758
let keep_going = self.u.arbitrary().unwrap_or(false);

0 commit comments

Comments
 (0)