Remove do { ... } while ... from the language.

This commit is contained in:
Paul Stansifer
2012-05-09 09:17:27 -07:00
parent 5af58e7926
commit 13c924c049
16 changed files with 11 additions and 118 deletions

View File

@@ -444,9 +444,6 @@ fn noop_fold_expr(e: expr_, fld: ast_fold) -> expr_ {
expr_while(cond, body) {
expr_while(fld.fold_expr(cond), fld.fold_block(body))
}
expr_do_while(blk, expr) {
expr_do_while(fld.fold_block(blk), fld.fold_expr(expr))
}
expr_loop(body) {
expr_loop(fld.fold_block(body))
}