mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-10-21 03:06:22 +00:00
Rename visit_simple to visit_newtype
This commit is contained in:
1 parent
fefc010deb
commit
6715fb6652
6 files changed
+17
-15
No files matched your search
@@ -574,7 +574,7 @@ fn deserialize_variant(
|
||||
}
|
||||
ast::TupleVariantKind(ref args) if args.len() == 1 => {
|
||||
quote_expr!(cx, {
|
||||
let val = try!(visitor.visit_simple());
|
||||
let val = try!(visitor.visit_newtype());
|
||||
Ok($type_ident::$variant_ident(val))
|
||||
})
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user