mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-29 00:00:18 +02:00
chore: fix new clippy lint (#2994)
This commit is contained in:
@@ -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> {
|
||||
|
||||
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user