Skip to content

Commit b4b15c6

Browse files
MozirDmitriyorizi
andauthored
fix(lowering-cache): remove duplicated trait loop in generate_crate_cache (#8837)
Co-authored-by: orizi <104711814+orizi@users.noreply.github.com>
1 parent bb91cdd commit b4b15c6

File tree

1 file changed

+0
-5
lines changed
  • crates/cairo-lang-lowering/src/cache

1 file changed

+0
-5
lines changed

crates/cairo-lang-lowering/src/cache/mod.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -147,11 +147,6 @@ pub fn generate_crate_cache<'db>(
147147
function_ids.push(FunctionWithBodyId::Trait(*trait_func));
148148
}
149149
}
150-
for trait_id in db.module_traits_ids(*module_id)?.iter() {
151-
for trait_func in db.trait_functions(*trait_id)?.values() {
152-
function_ids.push(FunctionWithBodyId::Trait(*trait_func));
153-
}
154-
}
155150
}
156151
}
157152

0 commit comments

Comments
 (0)