Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewhickman committed Dec 3, 2024
1 parent 94a3e6c commit e81c1b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions prost-reflect/src/dynamic/fields.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ impl DynamicMessageFieldSet {
pub(crate) fn iter<'a>(
&'a self,
message: &'a MessageDescriptor,
) -> impl Iterator<Item = ValueAndDescriptor> + 'a {
) -> impl Iterator<Item = ValueAndDescriptor<'a>> + 'a {
self.fields
.iter()
.filter_map(move |(&number, value)| match value {
Expand Down Expand Up @@ -179,7 +179,7 @@ impl DynamicMessageFieldSet {
pub(crate) fn iter_include_default<'a>(
&'a self,
message: &'a MessageDescriptor,
) -> impl Iterator<Item = ValueAndDescriptor> + 'a {
) -> impl Iterator<Item = ValueAndDescriptor<'a>> + 'a {
let fields = message
.fields()
.filter(move |f| !f.supports_presence() || self.has(f))
Expand Down

0 comments on commit e81c1b0

Please sign in to comment.