Merge rust-bitcoin/rust-bitcoin#1083: Remove unused lifetimes
64152ff6fc
Remove unused lifetimes (Tobin C. Harding) Pull request description: We somehow have two lifetimes that are unused and causing clippy warnings, remove them. This fixes the red CI runs on a bunch of other open PRs. FTR I have no idea how these got past clippy onto master. ACKs for top commit: Kixunil: ACK64152ff6fc
apoelstra: ACK64152ff6fc
Tree-SHA512: cced838b575b29d90c4325ab42ada93bae4751721d3ca2c19ec801892c38130570613e4ab8de757b73ecc83cda5c00a32867139e04a2615833d05dc21551af1a
This commit is contained in:
commit
21abc42b68
|
@ -171,7 +171,7 @@ macro_rules! serde_string_impl {
|
||||||
|
|
||||||
#[cfg(feature = "serde")]
|
#[cfg(feature = "serde")]
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "serde")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "serde")))]
|
||||||
impl<'de> $crate::serde::Serialize for $name {
|
impl $crate::serde::Serialize for $name {
|
||||||
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
|
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
|
||||||
where
|
where
|
||||||
S: $crate::serde::Serializer,
|
S: $crate::serde::Serializer,
|
||||||
|
@ -330,7 +330,7 @@ macro_rules! serde_struct_human_string_impl {
|
||||||
|
|
||||||
#[cfg(feature = "serde")]
|
#[cfg(feature = "serde")]
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "serde")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "serde")))]
|
||||||
impl<'de> $crate::serde::Serialize for $name {
|
impl $crate::serde::Serialize for $name {
|
||||||
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
|
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
|
||||||
where
|
where
|
||||||
S: $crate::serde::Serializer,
|
S: $crate::serde::Serializer,
|
||||||
|
|
Loading…
Reference in New Issue