Skip to content

Commit fbe7bf9

Browse files
committed
cleaned up import
1 parent 701f7f5 commit fbe7bf9

File tree

1 file changed

+1
-2
lines changed
  • src/module/functions/local_function

1 file changed

+1
-2
lines changed

src/module/functions/local_function/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ use crate::ir::*;
1010
use crate::map::{IdHashMap, IdHashSet};
1111
use crate::parse::IndicesToIds;
1212
use crate::{Data, DataId, FunctionBuilder, FunctionId, MemoryId, Module, Result, TypeId, ValType};
13-
use id_arena::Id;
1413
use std::collections::BTreeMap;
1514
use wasmparser::{FuncValidator, Operator, ValidatorResources};
1615

@@ -111,7 +110,7 @@ impl LocalFunction {
111110
}
112111

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

0 commit comments

Comments
 (0)