Add missing alt arm to expr_if pretty-printer
This commit is contained in:
parent
0d60918855
commit
5ba012f4a5
@ -384,6 +384,7 @@ impure fn print_expr(ps s, @ast.expr expr) {
|
||||
wrd1(s, "else");
|
||||
print_block(s, blk);
|
||||
}
|
||||
case (_) { /* fall through */ }
|
||||
}
|
||||
}
|
||||
case (ast.expr_while(?test,?block,_)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user