Eagerly implement common traits for IgnoredAny
This commit is contained in:
parent
07154303ed
commit
7d0a38270d
@ -4,7 +4,7 @@ use de::{Deserialize, Deserializer, Visitor, SeqVisitor, MapVisitor, Error};
|
||||
|
||||
/// A target for deserializers that want to ignore data. Implements Deserialize
|
||||
/// and silently eats data given to it.
|
||||
#[derive(Debug)]
|
||||
#[derive(Copy, Clone, Debug, Default)]
|
||||
pub struct IgnoredAny;
|
||||
|
||||
impl<'de> Deserialize<'de> for IgnoredAny {
|
||||
|
Loading…
x
Reference in New Issue
Block a user