Fix Build to Compile with 1.5.0-nightly (87cd2c082)

There was an extra, unused, paramter int he match arm which causes an
error when compiling with the latest nightly.
This commit is contained in:
Will Speak 2015-10-10 19:02:25 +01:00
parent 25abebf576
commit a5081c9832

View File

@ -113,7 +113,7 @@ impl Rewrite for ast::Expr {
offset,
true)
}
ast::Expr_::ExprMatch(ref cond, ref arms, _) => {
ast::Expr_::ExprMatch(ref cond, ref arms) => {
rewrite_match(context, cond, arms, width, offset, self.span)
}
ast::Expr_::ExprPath(ref qself, ref path) => {