diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-08-14 16:54:13 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-08-15 14:14:20 -0700 |
| commit | 74c69e1053188d92b86bc8b28cbf1af87d31ea2d (patch) | |
| tree | 8c07fc440e572eb59787705a9dd11fcd789430e0 /src/libsyntax/print | |
| parent | 8be0f665bcda9f5e4077d0be6ebc6aa382e72319 (diff) | |
| download | rust-74c69e1053188d92b86bc8b28cbf1af87d31ea2d.tar.gz rust-74c69e1053188d92b86bc8b28cbf1af87d31ea2d.zip | |
Convert more core types to camel case
Diffstat (limited to 'src/libsyntax/print')
| -rw-r--r-- | src/libsyntax/print/pp.rs | 4 | ||||
| -rw-r--r-- | src/libsyntax/print/pprust.rs | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/libsyntax/print/pp.rs b/src/libsyntax/print/pp.rs index 0d81d40ca8c..7282eaafb79 100644 --- a/src/libsyntax/print/pp.rs +++ b/src/libsyntax/print/pp.rs @@ -1,5 +1,5 @@ import io::WriterUtil; -import dvec::dvec; +import dvec::{DVec, dvec}; /* * This pretty-printer is a direct reimplementation of Philip Karlton's @@ -222,7 +222,7 @@ type printer_ = { mut top: uint, // index of top of scan_stack mut bottom: uint, // index of bottom of scan_stack // stack of blocks-in-progress being flushed by print - print_stack: dvec<print_stack_elt>, + print_stack: DVec<print_stack_elt>, // buffered indentation to avoid writing trailing whitespace mut pending_indentation: int, mut token_tree_last_was_ident: bool diff --git a/src/libsyntax/print/pprust.rs b/src/libsyntax/print/pprust.rs index 05b6ca8c504..de1cd2c3df0 100644 --- a/src/libsyntax/print/pprust.rs +++ b/src/libsyntax/print/pprust.rs @@ -7,7 +7,7 @@ import pp::{break_offset, word, printer, import diagnostic; import ast::{required, provided}; import ast_util::{operator_prec}; -import dvec::dvec; +import dvec::{DVec, dvec}; import parse::classify::*; import util::interner; @@ -35,7 +35,7 @@ type ps = literals: option<~[comments::lit]>, mut cur_cmnt: uint, mut cur_lit: uint, - boxes: dvec<pp::breaks>, + boxes: DVec<pp::breaks>, ann: pp_ann}; fn ibox(s: ps, u: uint) { |
