Skip to content

Commit

Permalink
Rollup merge of #24438 - nrc:tuple-span, r=sfackler
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth committed Apr 15, 2015
2 parents 91ef9ae + f37365e commit deb0591
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libsyntax/parse/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1972,7 +1972,7 @@ impl<'a> Parser<'a> {
}
try!(self.bump());

hi = self.span.hi;
hi = self.last_span.hi;
return if es.len() == 1 && !trailing_comma {
Ok(self.mk_expr(lo, hi, ExprParen(es.into_iter().nth(0).unwrap())))
} else {
Expand Down

0 comments on commit deb0591

Please sign in to comment.