Remove redundant unused trait impls from private types from PR #1917
This commit is contained in:
parent
0a230e8598
commit
034fe25d5b
@ -2561,7 +2561,6 @@ where
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct StrDeserializer<'a, E> {
|
||||
value: &'a str,
|
||||
marker: PhantomData<E>,
|
||||
@ -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<E>,
|
||||
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user