let_chains: Fix outdated doc-comment re. 'parse_if_expr'.
This commit is contained in:
parent
8b72e4c815
commit
3b7f0cb7e0
@ -3154,7 +3154,7 @@ impl<'a> Parser<'a> {
|
||||
}
|
||||
}
|
||||
|
||||
/// Parses an `if` or `if let` expression (`if` token already eaten).
|
||||
/// Parses an `if` expression (`if` token already eaten).
|
||||
fn parse_if_expr(&mut self, attrs: ThinVec<Attribute>) -> PResult<'a, P<Expr>> {
|
||||
let lo = self.prev_span;
|
||||
let cond = self.parse_expr_res(Restrictions::NO_STRUCT_LITERAL, None)?;
|
||||
|
Loading…
x
Reference in New Issue
Block a user