Skip to content

Commit

Permalink
Merge pull request #211 from fitzgen/clippy-fix
Browse files Browse the repository at this point in the history
Fix a clippy lint about an unnecessary lifetime
  • Loading branch information
Manishearth authored Dec 10, 2024
2 parents cd62300 + 7c0731b commit 893f654
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unstructured.rs
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,7 @@ pub struct ArbitraryIter<'a, 'b, ElementType> {
_marker: PhantomData<ElementType>,
}

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

0 comments on commit 893f654

Please sign in to comment.