File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: cc2a514cdcc3a413910e3cf39185cce332ffbbb8
2
+ refs/heads/master: fe0925678c76b3e96983806bd66edc1aa062c519
Original file line number Diff line number Diff line change @@ -1600,14 +1600,8 @@ fn parse_block(&parser p) -> ast::block {
1600
1600
expect ( p, token:: LBRACE ) ;
1601
1601
while ( p. peek ( ) != token:: RBRACE ) {
1602
1602
alt ( p. peek ( ) ) {
1603
- case ( token:: RBRACE ) {
1604
- // empty; fall through to next iteration
1605
-
1606
- }
1607
1603
case ( token:: SEMI ) {
1608
- p. bump ( ) ;
1609
- // empty
1610
-
1604
+ p. bump ( ) ; // empty
1611
1605
}
1612
1606
case ( _) {
1613
1607
auto stmt = parse_stmt ( p) ;
@@ -1630,7 +1624,6 @@ fn parse_block(&parser p) -> ast::block {
1630
1624
}
1631
1625
case ( none) {
1632
1626
// Not an expression statement.
1633
-
1634
1627
stmts += [ stmt] ;
1635
1628
1636
1629
if ( p. get_file_type ( ) == SOURCE_FILE
You can’t perform that action at this time.
0 commit comments