Skip to content

Commit

Permalink
Merge #1083: Remove unused lifetimes
Browse files Browse the repository at this point in the history
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
  • Loading branch information
apoelstra committed Jul 1, 2022
2 parents 30baeea + 64152ff commit 21abc42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/internal_macros.rs
Expand Up @@ -171,7 +171,7 @@ macro_rules! serde_string_impl {

#[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>
where
S: $crate::serde::Serializer,
Expand Down Expand Up @@ -330,7 +330,7 @@ macro_rules! serde_struct_human_string_impl {

#[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>
where
S: $crate::serde::Serializer,
Expand Down

0 comments on commit 21abc42

Please sign in to comment.