Remove unused lifetimes

We somehow have two lifetimes that are unused and causing clippy
warnings, remove them.
This commit is contained in:
Tobin C. Harding 2022-07-01 11:56:50 +10:00
parent 30baeea738
commit 64152ff6fc
1 changed files with 2 additions and 2 deletions

View File

@ -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,
@ -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,