Skip to content

Commit 6a42547

Browse files
committed
---
yaml --- r: 3833 b: refs/heads/master c: bde5280 h: refs/heads/master i: 3831: ca75ad8 v: v3
1 parent 35d8ea7 commit 6a42547

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

[refs]

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: a5ec51d6a1f86c6fda69edd6b2f98483ab99ac0a
2+
refs/heads/master: bde52808f0fa6d44b7d738ba2e79a4192ccdd54b

trunk/src/comp/syntax/print/pprust.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1160,7 +1160,10 @@ fn print_pat(&ps s, &@ast::pat pat) {
11601160
ret f.pat.span;
11611161
}
11621162
commasep_cmnt_ivec(s, consistent, fields, print_field, get_span);
1163-
if (etc) { space(s.s); word(s.s, "..."); }
1163+
if (etc) {
1164+
if (ivec::len(fields) != 0u) { word_space(s, ","); }
1165+
word(s.s, "_");
1166+
}
11641167
word(s.s, "}");
11651168
}
11661169
}

0 commit comments

Comments
 (0)