Rollup merge of #24438 - nrc:tuple-span, r=sfackler

This commit is contained in:
Steve Klabnik 2015-04-15 17:26:07 -04:00
commit 63d524d4ab
1 changed files with 1 additions and 1 deletions

View File

@ -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 {