Remove the '<->' operator from the language

This commit is contained in:
Alex Crichton 2013-05-06 00:43:19 -04:00
parent 998fececd6
commit 63c7e2f991
18 changed files with 16 additions and 128 deletions

View file

@ -1328,12 +1328,6 @@ pub fn print_expr(s: @ps, expr: @ast::expr) {
word_space(s, ~"=");
print_expr(s, rhs);
}
ast::expr_swap(lhs, rhs) => {
print_expr(s, lhs);
space(s.s);
word_space(s, ~"<->");
print_expr(s, rhs);
}
ast::expr_assign_op(op, lhs, rhs) => {
print_expr(s, lhs);
space(s.s);