diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2012-01-19 18:31:08 -0800 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2012-01-19 18:41:06 -0800 |
| commit | 59ebe6af187ce0504b40c177f1700b090b226625 (patch) | |
| tree | f0ca389b31de6fb10aefbc9cd6f76ae30f0e05f5 /src/comp/syntax/print | |
| parent | c6278e53dce084a2b9a284026be45fdad6a07478 (diff) | |
| download | rust-59ebe6af187ce0504b40c177f1700b090b226625.tar.gz rust-59ebe6af187ce0504b40c177f1700b090b226625.zip | |
rustc: Make the pretty printer output commas after enum variants. Update all tests accordingly.
Diffstat (limited to 'src/comp/syntax/print')
| -rw-r--r-- | src/comp/syntax/print/pprust.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/syntax/print/pprust.rs b/src/comp/syntax/print/pprust.rs index dc43c53ff30..a57cf3add14 100644 --- a/src/comp/syntax/print/pprust.rs +++ b/src/comp/syntax/print/pprust.rs @@ -451,7 +451,7 @@ fn print_item(s: ps, &&item: @ast::item) { } _ {} } - word(s.s, ";"); + word(s.s, ","); end(s); maybe_print_trailing_comment(s, v.span, none::<uint>); } |
