mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 02:57:37 +00:00
Revert "Print copy patterns correctly"
This reverts commit ea6819637382e7f8979766b954dd2a1922d0dee0.
This commit is contained in:
parent
f070e22360
commit
58a4a3700d
@ -1554,10 +1554,8 @@ fn print_pat(s: ps, &&pat: @ast::pat) {
|
||||
ast::bind_by_move => {
|
||||
word_nbsp(s, ~"move");
|
||||
}
|
||||
ast::bind_by_implicit_ref => {}
|
||||
ast::bind_by_value => {
|
||||
word_nbsp(s, ~"copy");
|
||||
}
|
||||
ast::bind_by_implicit_ref |
|
||||
ast::bind_by_value => {}
|
||||
}
|
||||
print_path(s, path, true);
|
||||
match sub {
|
||||
|
Loading…
Reference in New Issue
Block a user