chore: fix new clippy lint (#2994)

This commit is contained in:
David Mládek
2024-10-17 12:27:47 +02:00
committed by GitHub
parent 0ddc63f77e
commit 65ad603701
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -289,7 +289,7 @@ struct PrivateCookieJarIter<'a, K> {
iter: cookie::Iter<'a>,
}
impl<'a, K> Iterator for PrivateCookieJarIter<'a, K> {
impl<K> Iterator for PrivateCookieJarIter<'_, K> {
type Item = Cookie<'static>;
fn next(&mut self) -> Option<Self::Item> {
+1 -1
View File
@@ -307,7 +307,7 @@ struct SignedCookieJarIter<'a, K> {
iter: cookie::Iter<'a>,
}
impl<'a, K> Iterator for SignedCookieJarIter<'a, K> {
impl<K> Iterator for SignedCookieJarIter<'_, K> {
type Item = Cookie<'static>;
fn next(&mut self) -> Option<Self::Item> {