Remove redundant reference

This commit is contained in:
Ayaz Hafiz 2022-09-07 14:41:47 -05:00
parent ea527f627f
commit 9f3a44d323
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58

View file

@ -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);
}
}