diff --git a/miniconf/src/jsonpath.rs b/miniconf/src/jsonpath.rs index dd92d5a6..1cc328b9 100644 --- a/miniconf/src/jsonpath.rs +++ b/miniconf/src/jsonpath.rs @@ -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 /// diff --git a/miniconf/src/node.rs b/miniconf/src/node.rs index 70a7908e..ea90a1ed 100644 --- a/miniconf/src/node.rs +++ b/miniconf/src/node.rs @@ -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 core::iter::FusedIterator for PathIter<'_, S> {} impl<'a, T: AsRef + ?Sized, const S: char> IntoKeys for Path<&'a T, S> { type IntoKeys = KeysIter>;