Fix typo and clarify documentation for ModuleBuilder::push_import

This commit is contained in:
Josh Triplett 2018-12-15 06:01:36 -08:00
parent a07d89954e
commit 70f6a8c06c

View File

@ -258,7 +258,7 @@ impl<F> ModuleBuilder<F> where F: Invoke<elements::Module> {
).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.
pub fn push_import(&mut self, import: elements::ImportEntry) -> u32 {
self.module.import.entries_mut().push(import);