diff options
Diffstat (limited to 'src/comp/syntax')
| -rw-r--r-- | src/comp/syntax/ast.rs | 2 | ||||
| -rw-r--r-- | src/comp/syntax/print/pprust.rs | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/comp/syntax/ast.rs b/src/comp/syntax/ast.rs index f93398591c5..b3354a9b04f 100644 --- a/src/comp/syntax/ast.rs +++ b/src/comp/syntax/ast.rs @@ -256,7 +256,7 @@ tag stmt_ { stmt_crate_directive(@crate_directive); } -tag init_op { init_assign; init_recv; init_move; } +tag init_op { init_assign; init_move; } type initializer = {op: init_op, expr: @expr}; diff --git a/src/comp/syntax/print/pprust.rs b/src/comp/syntax/print/pprust.rs index c732039eaa1..0dc38357576 100644 --- a/src/comp/syntax/print/pprust.rs +++ b/src/comp/syntax/print/pprust.rs @@ -1064,7 +1064,6 @@ fn print_decl(s: &ps, decl: &@ast::decl) { alt init.op { ast::init_assign. { word_space(s, "="); } ast::init_move. { word_space(s, "<-"); } - ast::init_recv. { word_space(s, "|>"); } } print_expr(s, init.expr); } |
