Merge branch 'master' into fix/emscripten-translate

This commit is contained in:
Mackenzie Clark 2019-02-04 15:05:43 -08:00 committed by GitHub
commit 5f753f727c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -238,7 +238,7 @@ impl Instance {
self.call_with_index(func_index, args) self.call_with_index(func_index, args)
} }
/// Returns a immutable reference to the /// Returns an immutable reference to the
/// [`Ctx`] used by this Instance. /// [`Ctx`] used by this Instance.
/// ///
/// [`Ctx`]: struct.Ctx.html /// [`Ctx`]: struct.Ctx.html
@ -254,7 +254,7 @@ impl Instance {
unsafe { &mut *self.inner.vmctx } unsafe { &mut *self.inner.vmctx }
} }
/// Returns a iterator over all of the items /// Returns an iterator over all of the items
/// exported from this instance. /// exported from this instance.
pub fn exports(&mut self) -> ExportIter { pub fn exports(&mut self) -> ExportIter {
ExportIter::new(&self.module, &mut self.inner) ExportIter::new(&self.module, &mut self.inner)