IgnoredAny::visit_enum for old compilers
This commit is contained in:
parent
e75efbfd31
commit
15ee353488
@ -212,8 +212,7 @@ impl<'de> Visitor<'de> for IgnoredAny {
|
||||
where
|
||||
A: EnumAccess<'de>,
|
||||
{
|
||||
let (IgnoredAny, content) = data.variant()?;
|
||||
content.newtype_variant()
|
||||
data.variant::<IgnoredAny>()?.1.newtype_variant()
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user