mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 07:41:12 +00:00
Fix new clippy warnings
This commit is contained in:
parent
27a50a3e6b
commit
a62fd31ab6
2 changed files with 16 additions and 16 deletions
|
@ -121,12 +121,11 @@ pub fn check_patterns<'a>(
|
|||
) {
|
||||
match to_nonredundant_rows(region, patterns) {
|
||||
Err(err) => errors.push(err),
|
||||
Ok(matrix) => match roc_exhaustive::check(region, context, matrix) {
|
||||
Err(err) => {
|
||||
Ok(matrix) => {
|
||||
if let Err(err) = roc_exhaustive::check(region, context, matrix) {
|
||||
*errors = err;
|
||||
}
|
||||
Ok(_) => {}
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue