Skip to content

Commit cc52686

Browse files
committed
Remove unused lifetimes
We somehow have two lifetimes that are unused and causing clippy warnings, remove them.
1 parent f21b69f commit cc52686

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)