Skip to content

Commit

Permalink
Merge pull request #271 from quartiq/elide-lifetimes
Browse files Browse the repository at this point in the history
elide lifetimes
  • Loading branch information
jordens authored Dec 9, 2024
2 parents 89a1ac5 + 71cc197 commit 1c5a54c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion miniconf/src/jsonpath.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ impl<'a> Iterator for JsonPathIter<'a> {
}
}

impl<'a> core::iter::FusedIterator for JsonPathIter<'a> {}
impl core::iter::FusedIterator for JsonPathIter<'_> {}

/// JSON style path notation
///
Expand Down
2 changes: 1 addition & 1 deletion miniconf/src/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ impl<'a, const S: char> Iterator for PathIter<'a, S> {
}
}

impl<'a, const S: char> core::iter::FusedIterator for PathIter<'a, S> {}
impl<const S: char> core::iter::FusedIterator for PathIter<'_, S> {}

impl<'a, T: AsRef<str> + ?Sized, const S: char> IntoKeys for Path<&'a T, S> {
type IntoKeys = KeysIter<PathIter<'a, S>>;
Expand Down

0 comments on commit 1c5a54c

Please sign in to comment.