Skip to content

Commit

Permalink
cleaned up import
Browse files Browse the repository at this point in the history
  • Loading branch information
reuvenpo committed Aug 7, 2022
1 parent 701f7f5 commit fbe7bf9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/module/functions/local_function/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ use crate::ir::*;
use crate::map::{IdHashMap, IdHashSet};
use crate::parse::IndicesToIds;
use crate::{Data, DataId, FunctionBuilder, FunctionId, MemoryId, Module, Result, TypeId, ValType};
use id_arena::Id;
use std::collections::BTreeMap;
use wasmparser::{FuncValidator, Operator, ValidatorResources};

Expand Down Expand Up @@ -111,7 +110,7 @@ impl LocalFunction {
}

/// Mutably iterate over all the blocks in the function
pub fn blocks_mut(&mut self) -> impl Iterator<Item = (Id<InstrSeq>, &mut InstrSeq)> {
pub fn blocks_mut(&mut self) -> impl Iterator<Item = (InstrSeqId, &mut InstrSeq)> {
self.builder.arena.iter_mut()
}

Expand Down

0 comments on commit fbe7bf9

Please sign in to comment.