Skip to content

Commit

Permalink
Remove unused lifetimes
Browse files Browse the repository at this point in the history
We somehow have two lifetimes that are unused and causing clippy
warnings, remove them.
  • Loading branch information
tcharding committed Jul 1, 2022
1 parent 30baeea commit 64152ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/internal_macros.rs
Original file line number Diff line number Diff line change
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 64152ff

Please sign in to comment.