Skip to content

Commit 58a4a37

Browse files
committed
Revert "Print copy patterns correctly"
This reverts commit ea6819637382e7f8979766b954dd2a1922d0dee0.
1 parent f070e22 commit 58a4a37

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/libsyntax/print/pprust.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1554,10 +1554,8 @@ fn print_pat(s: ps, &&pat: @ast::pat) {
15541554
ast::bind_by_move => {
15551555
word_nbsp(s, ~"move");
15561556
}
1557-
ast::bind_by_implicit_ref => {}
1558-
ast::bind_by_value => {
1559-
word_nbsp(s, ~"copy");
1560-
}
1557+
ast::bind_by_implicit_ref |
1558+
ast::bind_by_value => {}
15611559
}
15621560
print_path(s, path, true);
15631561
match sub {

0 commit comments

Comments
 (0)