Skip to content

Commit a24a5d8

Browse files
committed
Merge rust-bitcoin/rust-bitcoin#1083: Remove unused lifetimes
64152ff 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: ACK 64152ff apoelstra: ACK 64152ff Tree-SHA512: cced838b575b29d90c4325ab42ada93bae4751721d3ca2c19ec801892c38130570613e4ab8de757b73ecc83cda5c00a32867139e04a2615833d05dc21551af1a
2 parents f21b69f + cc52686 commit a24a5d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/internal_macros.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ macro_rules! serde_string_impl {
171171

172172
#[cfg(feature = "serde")]
173173
#[cfg_attr(docsrs, doc(cfg(feature = "serde")))]
174-
impl<'de> $crate::serde::Serialize for $name {
174+
impl $crate::serde::Serialize for $name {
175175
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
176176
where
177177
S: $crate::serde::Serializer,
@@ -330,7 +330,7 @@ macro_rules! serde_struct_human_string_impl {
330330

331331
#[cfg(feature = "serde")]
332332
#[cfg_attr(docsrs, doc(cfg(feature = "serde")))]
333-
impl<'de> $crate::serde::Serialize for $name {
333+
impl $crate::serde::Serialize for $name {
334334
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
335335
where
336336
S: $crate::serde::Serializer,

0 commit comments

Comments
 (0)