diff options
Diffstat (limited to 'src/libsyntax/print/pprust.rs')
| -rw-r--r-- | src/libsyntax/print/pprust.rs | 5 |
1 files changed, 1 insertions, 4 deletions
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); } |
