diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-08-27 14:22:25 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-08-27 17:22:18 -0700 |
| commit | 161a82e433fbfbc0bd57a4d951ac37656a8a30f6 (patch) | |
| tree | c59e3d6a32f471299a8fde09506ebf6cff8f44db /src/libsyntax/print | |
| parent | 4ba9fdd3627869f04ee39d6146023df822e0936e (diff) | |
| download | rust-161a82e433fbfbc0bd57a4d951ac37656a8a30f6.tar.gz rust-161a82e433fbfbc0bd57a4d951ac37656a8a30f6.zip | |
Camel case various core constructors
Diffstat (limited to 'src/libsyntax/print')
| -rw-r--r-- | src/libsyntax/print/pp.rs | 4 | ||||
| -rw-r--r-- | src/libsyntax/print/pprust.rs | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/libsyntax/print/pp.rs b/src/libsyntax/print/pp.rs index be770281faa..d1f7235dc1b 100644 --- a/src/libsyntax/print/pp.rs +++ b/src/libsyntax/print/pp.rs @@ -1,5 +1,5 @@ import io::WriterUtil; -import dvec::{DVec, dvec}; +import dvec::DVec; /* * This pretty-printer is a direct reimplementation of Philip Karlton's @@ -117,7 +117,7 @@ fn mk_printer(out: io::Writer, linewidth: uint) -> printer { mut scan_stack_empty: true, mut top: 0u, mut bottom: 0u, - print_stack: dvec(), + print_stack: DVec(), mut pending_indentation: 0, mut token_tree_last_was_ident: false}) } diff --git a/src/libsyntax/print/pprust.rs b/src/libsyntax/print/pprust.rs index 4ebdcd03040..3465ca20565 100644 --- a/src/libsyntax/print/pprust.rs +++ b/src/libsyntax/print/pprust.rs @@ -6,7 +6,7 @@ import pp::{break_offset, word, printer, import diagnostic; import ast::{required, provided}; import ast_util::{operator_prec}; -import dvec::{DVec, dvec}; +import dvec::DVec; import parse::classify::*; import parse::token::ident_interner; @@ -53,7 +53,7 @@ fn rust_printer(writer: io::Writer, intr: ident_interner) -> ps { literals: None::<~[comments::lit]>, mut cur_cmnt: 0u, mut cur_lit: 0u, - boxes: dvec(), + boxes: DVec(), ann: no_ann()}; } @@ -82,7 +82,7 @@ fn print_crate(cm: codemap, intr: ident_interner, literals: if is_expanded { None } else { Some(r.lits) }, mut cur_cmnt: 0u, mut cur_lit: 0u, - boxes: dvec(), + boxes: DVec(), ann: ann}; print_crate_(s, crate); } |
