Fought against clippy and lost

This commit is contained in:
Ayaz Hafiz 2022-04-22 15:30:55 -04:00
parent 7d908dc99c
commit 17e7b10267
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
3 changed files with 14 additions and 9 deletions

View file

@ -722,7 +722,7 @@ pub fn constrain_expr(
pattern_cons.push(expr_con);
// Now check the condition against the type expected by the branches.
let sketched_rows = sketch_rows(real_cond_var, branches_region, &branches);
let sketched_rows = sketch_rows(real_cond_var, branches_region, branches);
let cond_matches_branches_constraint = constraints.exhaustive(
real_cond_var,
loc_cond.region,