syntax: Don't add an extra space before the last comma...

...when printing struct update expressions.
This commit is contained in:
Tim Chevalier 2013-01-28 14:43:15 -08:00
parent 9f11485357
commit 91676f3fa6
1 changed files with 0 additions and 1 deletions

View File

@ -1153,7 +1153,6 @@ fn print_expr(s: ps, &&expr: @ast::expr) {
commasep_cmnt(s, consistent, (*fields), print_field, get_span);
match wth {
Some(expr) => {
if vec::len((*fields)) > 0u { space(s.s); }
ibox(s, indent_unit);
word(s.s, ~",");
space(s.s);