Rename visit_simple to visit_newtype

This commit is contained in:
Erick Tryzelaar
2015-07-29 15:41:37 -07:00
parent fefc010deb
commit 6715fb6652
6 changed files with 17 additions and 15 deletions
+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))
})
}