Remove unnecessary lifetimes

This commit is contained in:
Jamil Lambert, PhD 2024-10-24 14:08:20 +01:00
parent dc443e5b3d
commit b22db6268c
No known key found for this signature in database
GPG Key ID: 54DC29234AB5D2C0
1 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ pub mod serde_details {
fn default() -> Self { Self(PhantomData) }
}
impl<'de, ValueT> de::Visitor<'de> for HexVisitor<ValueT>
impl<ValueT> de::Visitor<'_> for HexVisitor<ValueT>
where
ValueT: FromStr,
<ValueT as FromStr>::Err: fmt::Display,
@ -55,7 +55,7 @@ pub mod serde_details {
fn default() -> Self { Self(PhantomData) }
}
impl<'de, ValueT, const N: usize> de::Visitor<'de> for BytesVisitor<ValueT, N>
impl<ValueT, const N: usize> de::Visitor<'_> for BytesVisitor<ValueT, N>
where
ValueT: crate::Hash,
ValueT: crate::Hash<Bytes = [u8; N]>,