Resolve extra_unused_lifetimes clippy lint

error: this lifetime isn't used in the impl
       --> serde/src/de/value.rs:607:11
        |
    607 | impl<'de, 'a, E> de::EnumAccess<'de> for StringDeserializer<E>
        |           ^^
        |
        = note: `-D clippy::extra-unused-lifetimes` implied by `-D clippy::all`
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
This commit is contained in:
David Tolnay 2022-05-05 21:00:11 -07:00
parent 17c3c0cf86
commit 4cf012c5be
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -604,7 +604,7 @@ where
}
#[cfg(any(feature = "std", feature = "alloc"))]
impl<'de, 'a, E> de::EnumAccess<'de> for StringDeserializer<E>
impl<'de, E> de::EnumAccess<'de> for StringDeserializer<E>
where
E: de::Error,
{