Skip to content

Commit 26fd46b

Browse files
committed
---
yaml --- r: 2582 b: refs/heads/master c: f7df369 h: refs/heads/master v: v3
1 parent 4cc17fd commit 26fd46b

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 63cf381ca1b5246c7f54ad701e4792e0a11edaf2
2+
refs/heads/master: f7df3696dea28f3bba9913d020e748e084f62920

trunk/src/comp/pretty/pprust.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -396,10 +396,11 @@ fn print_expr(ps s, &@ast::expr expr) {
396396
if (mut == ast::mut) {
397397
wrd1(s, "mutable");
398398
}
399-
wrd(s.s, "vec");
400-
popen(s);
399+
wrd(s.s, "[");
400+
pp::abox(s.s);
401401
commasep_exprs(s, exprs);
402-
pclose(s);
402+
end(s.s);
403+
wrd(s.s, "]");
403404
}
404405
case (ast::expr_tup(?exprs,_)) {
405406
fn printElt(ps s, &ast::elt elt) {

0 commit comments

Comments
 (0)