Add missing arm, so pretty-printing the statement 'copy 1;' does not die.

This commit is contained in:
Jesse Ruderman 2011-09-09 21:27:07 -07:00
parent 8e00161819
commit 7182054416

View file

@ -1613,6 +1613,7 @@ fn stmt_ends_with_semi(stmt: &ast::stmt) -> bool {
ast::expr_alt(_, _) { false }
ast::expr_fn(_) { false }
ast::expr_block(_) { false }
ast::expr_copy(_) { true }
ast::expr_move(_, _) { true }
ast::expr_assign(_, _) { true }
ast::expr_swap(_, _) { true }