diff --git a/serde/src/private/de.rs b/serde/src/private/de.rs index 6bb6cd44..daf83388 100644 --- a/serde/src/private/de.rs +++ b/serde/src/private/de.rs @@ -2561,7 +2561,6 @@ where } } -#[derive(Debug)] pub struct StrDeserializer<'a, E> { value: &'a str, marker: PhantomData, @@ -2576,8 +2575,6 @@ impl<'a, E> StrDeserializer<'a, E> { } } -impl_copy_clone!(StrDeserializer<'a>); - impl<'de, 'a, E> Deserializer<'de> for StrDeserializer<'a, E> where E: Error, @@ -2598,7 +2595,6 @@ where } } -#[derive(Debug)] pub struct BorrowedStrDeserializer<'de, E> { value: &'de str, marker: PhantomData, @@ -2613,8 +2609,6 @@ impl<'de, E> BorrowedStrDeserializer<'de, E> { } } -impl_copy_clone!(BorrowedStrDeserializer<'de>); - impl<'de, E> Deserializer<'de> for BorrowedStrDeserializer<'de, E> where E: Error,