mirror of
https://github.com/fluencelabs/parity-wasm
synced 2025-06-08 12:31:35 +00:00
Fix typo and clarify documentation for ModuleBuilder::push_import
This commit is contained in:
parent
a07d89954e
commit
70f6a8c06c
@ -258,7 +258,7 @@ impl<F> ModuleBuilder<F> where F: Invoke<elements::Module> {
|
|||||||
).collect()
|
).collect()
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Push import entry to module. Not that it does not update calling indices in
|
/// Push import entry to module. Note that this does not update calling indices in
|
||||||
/// function bodies.
|
/// function bodies.
|
||||||
pub fn push_import(&mut self, import: elements::ImportEntry) -> u32 {
|
pub fn push_import(&mut self, import: elements::ImportEntry) -> u32 {
|
||||||
self.module.import.entries_mut().push(import);
|
self.module.import.entries_mut().push(import);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user