Implement PartialEq for IgnoredAny so it can be used in tests

This commit is contained in:
Mingun
2023-04-30 01:57:48 +05:00
parent f583401284
commit 732ac49321
+1 -1
View File
@@ -108,7 +108,7 @@ use de::{
/// # Ok(()) /// # Ok(())
/// # } /// # }
/// ``` /// ```
#[derive(Copy, Clone, Debug, Default)] #[derive(Copy, Clone, Debug, Default, PartialEq)]
pub struct IgnoredAny; pub struct IgnoredAny;
impl<'de> Visitor<'de> for IgnoredAny { impl<'de> Visitor<'de> for IgnoredAny {