mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 00:24:34 +00:00
Remove redundant reference
This commit is contained in:
parent
ea527f627f
commit
9f3a44d323
1 changed files with 1 additions and 1 deletions
|
@ -360,7 +360,7 @@ impl Types {
|
|||
layout: Layout<'a>,
|
||||
) -> TypeId {
|
||||
for (id, existing_type) in self.types.iter().enumerate() {
|
||||
if self.is_equivalent(&typ, &existing_type) {
|
||||
if self.is_equivalent(&typ, existing_type) {
|
||||
return TypeId(id);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue