Skip to content

Commit c297035

Browse files
committed
fix clippy warning "explicit lifetimes given in parameter types where they could be elided"
1 parent 0aa2961 commit c297035

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphql_client_codegen/src/query.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ impl UsedTypes {
608608
.map(move |enum_id| (enum_id, schema.get_enum(enum_id)))
609609
}
610610

611-
pub(crate) fn fragment_ids<'b>(&'b self) -> impl Iterator<Item = ResolvedFragmentId> + 'b {
611+
pub(crate) fn fragment_ids(& self) -> impl Iterator<Item = ResolvedFragmentId> + '_ {
612612
self.fragments.iter().copied()
613613
}
614614
}

0 commit comments

Comments
 (0)