mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 07:41:12 +00:00
Fix clippy warning
This commit is contained in:
parent
8dda9929e5
commit
95ad906c59
1 changed files with 3 additions and 3 deletions
|
@ -163,13 +163,13 @@ fn validate_help(constraint: &Constraint, declared: &Declared, accum: &mut Varia
|
|||
}
|
||||
Constraint::Present(typ, constr) => {
|
||||
subtract(declared, &typ.variables_detail(), accum);
|
||||
match &constr {
|
||||
&PresenceConstraint::IncludesTag(_, tys) => {
|
||||
match constr {
|
||||
PresenceConstraint::IncludesTag(_, tys) => {
|
||||
for ty in tys {
|
||||
subtract(declared, &ty.variables_detail(), accum);
|
||||
}
|
||||
}
|
||||
&PresenceConstraint::IsOpen => {}
|
||||
PresenceConstraint::IsOpen => {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue