Closed Arnavion closed 5 years ago
Other changes:
Fix deserialize_option to call visit_unit rather than visit_none, just like serde's ContentDeserializer does.
deserialize_option
visit_unit
visit_none
ContentDeserializer
Remove MapVisitor since serde::de::value::MapDeserializer can be used directly.
MapVisitor
serde::de::value::MapDeserializer
Fixes #23
@arcnmx Ping. Do you need any other changes?
Sorry, just slow at getting to things right now. Thanks for the change, merged!
Other changes:
Fix
deserialize_option
to callvisit_unit
rather thanvisit_none
, just like serde'sContentDeserializer
does.Remove
MapVisitor
sinceserde::de::value::MapDeserializer
can be used directly.Fixes #23