Fixed comments based on feedback

This commit is contained in:
Syrus
2020-07-15 18:04:13 -07:00
parent 7bf6b9efc9
commit 0c13173624
8 changed files with 17 additions and 11 deletions

View File

@@ -7,6 +7,8 @@ use crate::TableType;
use std::sync::Arc;
use wasmer_vm::{Export, ExportTable, Table as RuntimeTable, VMCallerCheckedAnyfunc};
/// A WebAssembly `table` instance.
///
/// The `Table` struct is an array-like structure representing a WebAssembly Table,
/// which stores function references.
///
@@ -58,7 +60,7 @@ impl Table {
self.table.ty()
}
/// Returns the [`Store`] that owns this `Table`.
/// Returns the [`Store`] where the `Table` belongs.
pub fn store(&self) -> &Store {
&self.store
}