diff options
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index fb2aa0e9d5a..d1529347ee0 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -3868,7 +3868,7 @@ impl<'a> Parser<'a> { "move the `..` to the end of the field list", vec![ (etc_span, "".into()), - (self.span, ", .. }".into()), + (self.span, format!("{}.. }}", if ate_comma { "" } else { ", " })), ], ); } |
