Skip to content

Commit

Permalink
feat: make Module::imports be pub
Browse files Browse the repository at this point in the history
  • Loading branch information
yjhmelody committed Nov 24, 2022
1 parent 23df536 commit ea9348b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/wasmi/src/module/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ impl Module {
}

/// Returns an iterator over the imports of the [`Module`].
pub(crate) fn imports(&self) -> ModuleImportsIter {
pub fn imports(&self) -> ModuleImportsIter {
let len_imported_funcs = self.imports.len_funcs;
let len_imported_globals = self.imports.len_globals;
ModuleImportsIter {
Expand Down

0 comments on commit ea9348b

Please sign in to comment.