Skip to content

Commit 8d9d2b6

Browse files
committed
---
yaml --- r: 23200 b: refs/heads/master c: 8271b3f h: refs/heads/master v: v3
1 parent 6b198a0 commit 8d9d2b6

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 96007441e16559c3259cf94e29857c01452c51a6
2+
refs/heads/master: 8271b3f0c89f052612c5bb8262f399995121e061
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be

trunk/src/libsyntax/print/pprust.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1037,7 +1037,6 @@ fn print_expr(s: ps, &&expr: @ast::expr) {
10371037
commasep_cmnt(s, consistent, fields, print_field, get_span);
10381038
match wth {
10391039
some(expr) => {
1040-
if vec::len(fields) > 0u { space(s.s); }
10411040
ibox(s, indent_unit);
10421041
word(s.s, ~",");
10431042
space(s.s);

trunk/src/test/pretty/record-trailing-comma.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ type thing = {x: int, y: int,};
33

44
fn main() {
55
let sth = {x: 0, y: 1,};
6-
let sth2 = {y: 9 ..sth};
6+
let sth2 = {y: 9, ..sth};
77
assert sth.x + sth2.y == 9;
88
}

0 commit comments

Comments
 (0)