Change auto_encode to call 'std::serialize::traits::Decode::decode'
This commit is contained in:
parent
55138c739d
commit
c704d26c8c
1 changed files with 2 additions and 0 deletions
|
@ -818,6 +818,8 @@ fn mk_deser_fields(
|
|||
cx.expr_path(span, ~[
|
||||
cx.ident_of(~"std"),
|
||||
cx.ident_of(~"serialize"),
|
||||
cx.ident_of(~"traits"),
|
||||
cx.ident_of(~"Decodable"),
|
||||
cx.ident_of(~"decode"),
|
||||
]),
|
||||
~[cx.expr_var(span, ~"__d")]
|
||||
|
|
Loading…
Add table
Reference in a new issue