Rename visit_simple to visit_newtype

This commit is contained in:
Erick Tryzelaar committed 2015-07-31 07:22:13 -07:00
1 parent fefc010deb
commit 6715fb6652
6 files changed
+17 -15

No files matched your search

+1 -1
View File
@@ -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))
})
}