Add ')' in advaced_slice_patterns error message

This commit is contained in:
Luke Gallagher 2015-04-19 13:26:32 +10:00
parent e0b4c379c4
commit 12e30f7f06

View file

@ -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",