diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2012-09-18 21:41:13 -0700 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2012-09-18 21:41:13 -0700 |
| commit | 8d4928f7808813de62fefcb89139bfb7382b250b (patch) | |
| tree | 769fb518ce7c6952b2b7428ffe06f0679abe3f95 /src/libsyntax/print | |
| parent | 1be24f0758d3075d2e7f141f8831bb8a233ce86e (diff) | |
| download | rust-8d4928f7808813de62fefcb89139bfb7382b250b.tar.gz rust-8d4928f7808813de62fefcb89139bfb7382b250b.zip | |
Revert "replace explicit calls to vec::each with vec::each_ref, partially demode str"
This reverts commit 1be24f0758d3075d2e7f141f8831bb8a233ce86e. Not quite ready.
Diffstat (limited to 'src/libsyntax/print')
| -rw-r--r-- | src/libsyntax/print/pprust.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/print/pprust.rs b/src/libsyntax/print/pprust.rs index c7aa724d9fd..4998dc7af6c 100644 --- a/src/libsyntax/print/pprust.rs +++ b/src/libsyntax/print/pprust.rs @@ -1672,9 +1672,9 @@ fn print_arg_mode(s: ps, m: ast::mode) { fn print_bounds(s: ps, bounds: @~[ast::ty_param_bound]) { if vec::len(*bounds) > 0u { word(s.s, ~":"); - for vec::each_ref(*bounds) |bound| { + for vec::each(*bounds) |bound| { nbsp(s); - match *bound { + match bound { ast::bound_copy => word(s.s, ~"Copy"), ast::bound_send => word(s.s, ~"Send"), ast::bound_const => word(s.s, ~"Const"), |
