Remove unnecessary lifetimes
This commit is contained in:
parent
dc443e5b3d
commit
b22db6268c
|
@ -18,7 +18,7 @@ pub mod serde_details {
|
||||||
fn default() -> Self { Self(PhantomData) }
|
fn default() -> Self { Self(PhantomData) }
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'de, ValueT> de::Visitor<'de> for HexVisitor<ValueT>
|
impl<ValueT> de::Visitor<'_> for HexVisitor<ValueT>
|
||||||
where
|
where
|
||||||
ValueT: FromStr,
|
ValueT: FromStr,
|
||||||
<ValueT as FromStr>::Err: fmt::Display,
|
<ValueT as FromStr>::Err: fmt::Display,
|
||||||
|
@ -55,7 +55,7 @@ pub mod serde_details {
|
||||||
fn default() -> Self { Self(PhantomData) }
|
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
|
where
|
||||||
ValueT: crate::Hash,
|
ValueT: crate::Hash,
|
||||||
ValueT: crate::Hash<Bytes = [u8; N]>,
|
ValueT: crate::Hash<Bytes = [u8; N]>,
|
||||||
|
|
Loading…
Reference in New Issue