From 71cc197d38fa3f6e42b1261bec9b41584649eb7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20J=C3=B6rdens?= Date: Mon, 9 Dec 2024 11:22:04 +0100 Subject: [PATCH] elide lifetimes --- miniconf/src/jsonpath.rs | 2 +- miniconf/src/node.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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>;