Skip to content

Commit

Permalink
Add ')' in advaced_slice_patterns error message
Browse files Browse the repository at this point in the history
  • Loading branch information
lgrz committed Apr 24, 2015
1 parent e0b4c37 commit 12e30f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libsyntax/feature_gate.rs
Expand Up @@ -620,7 +620,7 @@ impl<'a, 'v> Visitor<'v> for PostExpansionVisitor<'a> {
pattern.span,
"multiple-element slice matches anywhere \
but at the end of a slice (e.g. \
`[0, ..xs, 0]` are experimental")
`[0, ..xs, 0]`) are experimental")
}
ast::PatVec(..) => {
self.gate_feature("slice_patterns",
Expand Down

0 comments on commit 12e30f7

Please sign in to comment.