diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-08-24 21:03:51 -0700 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-08-24 22:28:12 -0700 |
| commit | 5e22fb9c7f94c76e1e7e17709884198ec4ba3fcb (patch) | |
| tree | 3f8504b434daa0eea689faf3c09177ccd551d545 /src/libsyntax/print | |
| parent | c7a3d0eb5820e63225b45a2e2c8c4e9b8f658601 (diff) | |
| download | rust-5e22fb9c7f94c76e1e7e17709884198ec4ba3fcb.tar.gz rust-5e22fb9c7f94c76e1e7e17709884198ec4ba3fcb.zip | |
Remove match check
Diffstat (limited to 'src/libsyntax/print')
| -rw-r--r-- | src/libsyntax/print/pprust.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libsyntax/print/pprust.rs b/src/libsyntax/print/pprust.rs index 29c41949e21..835d71135d5 100644 --- a/src/libsyntax/print/pprust.rs +++ b/src/libsyntax/print/pprust.rs @@ -1128,11 +1128,10 @@ fn print_expr(s: ps, &&expr: @ast::expr) { option::iter(opt_ident, |ident| {print_ident(s, ident); space(s.s)}); print_block(s, blk); } - ast::expr_match(expr, arms, mode) => { + ast::expr_match(expr, arms) => { cbox(s, alt_indent_unit); ibox(s, 4u); word_nbsp(s, ~"match"); - if mode == ast::alt_check { word_nbsp(s, ~"check"); } print_maybe_parens_discrim(s, expr); space(s.s); bopen(s); |
