Fix build of docs.

This commit is contained in:
Nick Lewycky
2020-07-27 14:36:20 -07:00
parent 23e1603f5d
commit dbdf346aec
3 changed files with 6 additions and 3 deletions

View File

@@ -36,6 +36,8 @@ impl Table {
/// All the elements in the table will be set to the `init` value.
///
/// This function will construct the `Table` using the store [`Tunables`].
///
/// [`Tunables`]: crate::tunables::Tunables
pub fn new(store: &Store, ty: TableType, init: Val) -> Result<Table, RuntimeError> {
let item = init.into_checked_anyfunc(store)?;
let tunables = store.tunables();