Skip to content

Commit e97b027

Browse files
committed
let_chains: Fix outdated doc-comment re. 'parse_if_expr'.
1 parent ccb40bc commit e97b027

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libsyntax/parse/parser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3769,7 +3769,7 @@ impl<'a> Parser<'a> {
37693769
}
37703770
}
37713771

3772-
/// Parses an `if` or `if let` expression (`if` token already eaten).
3772+
/// Parses an `if` expression (`if` token already eaten).
37733773
fn parse_if_expr(&mut self, attrs: ThinVec<Attribute>) -> PResult<'a, P<Expr>> {
37743774
let lo = self.prev_span;
37753775
let cond = self.parse_expr_res(Restrictions::NO_STRUCT_LITERAL, None)?;

0 commit comments

Comments
 (0)