Skip to content

Commit

Permalink
Fix Build to Compile with 1.5.0-nightly (87cd2c0)
Browse files Browse the repository at this point in the history
There was an extra, unused, paramter int he match arm which causes an
error when compiling with the latest nightly.
  • Loading branch information
iwillspeak committed Oct 10, 2015
1 parent 25abebf commit a5081c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/expr.rs
Expand Up @@ -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) => {
Expand Down

0 comments on commit a5081c9

Please sign in to comment.