mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-11-02 08:21:06 +00:00
Pull deserialization impls into their own file
This commit is contained in:
1 parent
44edfa5974
commit
1b1c605102
5 files changed
+455
-443
No files matched your search
@@ -417,7 +417,7 @@ fn deserialize_variant(
|
||||
match variant.node.kind {
|
||||
ast::TupleVariantKind(ref args) if args.is_empty() => {
|
||||
quote_expr!(cx, {
|
||||
try!(visitor.visit_value(::serde::de::UnitVisitor));
|
||||
try!(visitor.visit_value(::serde::de::impls::UnitVisitor));
|
||||
Ok($type_ident::$variant_ident)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user