Merge rust-bitcoin/rust-bitcoin#3514: Remove unnecessary lifetimes
b22db6268c
Remove unnecessary lifetimes (Jamil Lambert, PhD) Pull request description: New lint warnings from a recent nightly toolchain in #3467 show some explicit lifetimes that can be omitted. The unnecessary lifetimes have been removed. ACKs for top commit: storopoli: ACKb22db6268c
apoelstra: ACK b22db6268c609af5bc739168de4fde4a6e82fc43; successfully ran local tests; will one-ACK merge Tree-SHA512: fa7057a3f2d8d84dfc21baf9784773fa331d808ed7e5153847fba455bf18d1daa1e95661e887fad74e21c953dc01655da6c2797e1fc0d4f546e4852ef1d99ad0
This commit is contained in:
commit
856503ddc1
|
@ -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]>,
|
||||
|
|
Loading…
Reference in New Issue