mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-17 19:01:20 +00:00
fix(llvm-backend) No need to enumerate items in this iterator.
This commit is contained in:
@ -190,7 +190,7 @@ fn parse_function(
|
||||
let param_len = locals.len();
|
||||
|
||||
let mut local_idx = 0;
|
||||
for (index, local) in locals_reader.into_iter().enumerate() {
|
||||
for local in locals_reader.into_iter() {
|
||||
let (count, ty) = local?;
|
||||
let wasmer_ty = type_to_type(ty)?;
|
||||
let ty = type_to_llvm(intrinsics, wasmer_ty);
|
||||
|
Reference in New Issue
Block a user