diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2013-03-07 18:37:22 -0500 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2013-03-08 09:54:20 -0500 |
| commit | 7f99a02ddb3ff30388ae1dd5db06e332c215fea2 (patch) | |
| tree | cfea745b79f58bad9266ddcb80490be166a45f5d /src/libsyntax/print | |
| parent | 2a72099063b21abc84145960a14224458b6dc37c (diff) | |
| download | rust-7f99a02ddb3ff30388ae1dd5db06e332c215fea2.tar.gz rust-7f99a02ddb3ff30388ae1dd5db06e332c215fea2.zip | |
syntax: Remove uses of DVec
Diffstat (limited to 'src/libsyntax/print')
| -rw-r--r-- | src/libsyntax/print/pprust.rs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/libsyntax/print/pprust.rs b/src/libsyntax/print/pprust.rs index 4a8176abc6f..c68341c20fa 100644 --- a/src/libsyntax/print/pprust.rs +++ b/src/libsyntax/print/pprust.rs @@ -28,7 +28,6 @@ use print::pp; use print::pprust; use core::char; -use core::dvec::DVec; use core::io; use core::str; use core::u64; @@ -63,7 +62,7 @@ pub struct ps { comments: Option<~[comments::cmnt]>, literals: Option<~[comments::lit]>, cur_cmnt_and_lit: @mut CurrentCommentAndLiteral, - boxes: DVec<pp::breaks>, + boxes: @mut ~[pp::breaks], ann: pp_ann } @@ -88,7 +87,7 @@ pub fn rust_printer(writer: io::Writer, intr: @ident_interner) -> @ps { cur_cmnt: 0, cur_lit: 0 }, - boxes: DVec(), + boxes: @mut ~[], ann: no_ann() }; } @@ -123,7 +122,7 @@ pub fn print_crate(cm: @CodeMap, intr: @ident_interner, cur_cmnt: 0, cur_lit: 0 }, - boxes: DVec(), + boxes: @mut ~[], ann: ann }; print_crate_(s, crate); |
