From e7bb33aed889aebae1b141cdcc2aeeebab1724ee Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Sat, 3 Aug 2013 23:51:29 -0400 Subject: rm obsolete `for` support from the compiler --- src/libsyntax/print/pprust.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/libsyntax/print/pprust.rs') diff --git a/src/libsyntax/print/pprust.rs b/src/libsyntax/print/pprust.rs index c3fcacdf7b0..174b0f8e451 100644 --- a/src/libsyntax/print/pprust.rs +++ b/src/libsyntax/print/pprust.rs @@ -1087,7 +1087,7 @@ pub fn print_call_post(s: @ps, nbsp(s); match blk.get().node { // need to handle closures specifically - ast::expr_do_body(e) | ast::expr_loop_body(e) => { + ast::expr_do_body(e) => { end(s); // we close our head box; closure // will create it's own. print_expr(s, e); @@ -1338,9 +1338,6 @@ pub fn print_expr(s: @ps, expr: &ast::expr) { // empty box to satisfy the close. ibox(s, 0); } - ast::expr_loop_body(body) => { - print_expr(s, body); - } ast::expr_do_body(body) => { print_expr(s, body); } -- cgit 1.4.1-3-g733a5