Skip to content

Commit 893f654

Browse files
authored
Merge pull request #211 from fitzgen/clippy-fix
Fix a clippy lint about an unnecessary lifetime
2 parents cd62300 + 7c0731b commit 893f654

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)