mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
Switch pretty printer to new vec syntax
This commit is contained in:
parent
63cf381ca1
commit
f7df3696de
@ -396,10 +396,11 @@ fn print_expr(ps s, &@ast::expr expr) {
|
||||
if (mut == ast::mut) {
|
||||
wrd1(s, "mutable");
|
||||
}
|
||||
wrd(s.s, "vec");
|
||||
popen(s);
|
||||
wrd(s.s, "[");
|
||||
pp::abox(s.s);
|
||||
commasep_exprs(s, exprs);
|
||||
pclose(s);
|
||||
end(s.s);
|
||||
wrd(s.s, "]");
|
||||
}
|
||||
case (ast::expr_tup(?exprs,_)) {
|
||||
fn printElt(ps s, &ast::elt elt) {
|
||||
|
Loading…
Reference in New Issue
Block a user