Skip to content
Myr

Resolve extra_unused_lifetimes clippy lint

Before adoption: this commit came in with the history the project adopted, so no landing records it.

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

authored by David Tolnay · committed by David Tolnay · parent 17c3c0c · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:serde/src/de/value.rs+1 added-1 removed
602 unmodified lines
603 }604}605606#[cfg(any(feature = "std", feature = "alloc"))]607impl<'de, 'a, E> de::EnumAccess<'de> for StringDeserializer<E>607impl<'de, E> de::EnumAccess<'de> for StringDeserializer<E>608where609 E: de::Error,610{611 type Error = E;
1024 unmodified lines