mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 16:21:11 +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) => {
|
Constraint::Present(typ, constr) => {
|
||||||
subtract(declared, &typ.variables_detail(), accum);
|
subtract(declared, &typ.variables_detail(), accum);
|
||||||
match &constr {
|
match constr {
|
||||||
&PresenceConstraint::IncludesTag(_, tys) => {
|
PresenceConstraint::IncludesTag(_, tys) => {
|
||||||
for ty in tys {
|
for ty in tys {
|
||||||
subtract(declared, &ty.variables_detail(), accum);
|
subtract(declared, &ty.variables_detail(), accum);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
&PresenceConstraint::IsOpen => {}
|
PresenceConstraint::IsOpen => {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue