Skip to content

Commit c0d39e3

Browse files
committed
---
yaml --- r: 274938 b: refs/heads/stable c: 73a8513 h: refs/heads/master
1 parent bf2df1d commit c0d39e3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ refs/heads/tmp: e06d2ad9fcd5027bcaac5b08fc9aa39a49d0ecd3
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: c0221c8897db309a79990367476177b1230bb264
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32-
refs/heads/stable: 4e1a6f6b363a04218583ab10bdf3cbe6bca41f00
32+
refs/heads/stable: 73a8513b88f28344c37d3b3296f93cbc8f30cefa
3333
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375
3434
refs/tags/1.1.0: bc3c16f09287e5545c1d3f76b7abd54f2eca868b
3535
refs/tags/1.2.0: f557861f822c34f07270347b94b5280de20a597e

branches/stable/src/libsyntax/parse/parser.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3254,7 +3254,7 @@ impl<'a> Parser<'a> {
32543254
if self.token == token::CloseDelim(token::Brace) {
32553255
self.bump();
32563256
}
3257-
return Ok(self.mk_expr(lo, hi, ExprMatch(discriminant, arms), attrs));
3257+
return Ok(self.mk_expr(lo, hi, ExprKind::Match(discriminant, arms), attrs));
32583258
}
32593259
}
32603260
}
@@ -3772,7 +3772,7 @@ impl<'a> Parser<'a> {
37723772

37733773
/// Parse a statement. may include decl.
37743774
pub fn parse_stmt(&mut self) -> PResult<'a, Option<Stmt>> {
3775-
Ok(self.parse_stmt_().map(P))
3775+
Ok(self.parse_stmt_())
37763776
}
37773777

37783778
// Eat tokens until we can be relatively sure we reached the end of the

0 commit comments

Comments
 (0)