Skip to content

Commit

Permalink
Update tools and fulldeps tests
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewjasper committed Sep 11, 2023
1 parent 45e19aa commit e0d90cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/expr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ struct ControlFlow<'a> {

fn extract_pats_and_cond(expr: &ast::Expr) -> (Option<&ast::Pat>, &ast::Expr) {
match expr.kind {
ast::ExprKind::Let(ref pat, ref cond, _) => (Some(pat), cond),
ast::ExprKind::Let(ref pat, ref cond, _, _) => (Some(pat), cond),
_ => (None, expr),
}
}
Expand Down

0 comments on commit e0d90cc

Please sign in to comment.