mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
clippy
This commit is contained in:
parent
4d9202ec6e
commit
e4b814ce1c
8 changed files with 51 additions and 48 deletions
|
@ -955,7 +955,7 @@ pub(crate) fn canonicalize_defs<'a>(
|
|||
// there are opaques that implement an ability using a value symbol). But, value symbols might
|
||||
// shadow symbols defined in a local ability def.
|
||||
|
||||
for (_, either_index) in loc_defs.tags.iter().enumerate() {
|
||||
for either_index in loc_defs.tags.iter() {
|
||||
if let Ok(type_index) = either_index.split() {
|
||||
let type_def = &loc_defs.type_defs[type_index.index()];
|
||||
let pending_type_def = to_pending_type_def(env, type_def, scope, pattern_type);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue