diff --git a/lib/api/src/externals/memory.rs b/lib/api/src/externals/memory.rs index 2fbbd0a35fa..8f2e18fa21d 100644 --- a/lib/api/src/externals/memory.rs +++ b/lib/api/src/externals/memory.rs @@ -36,7 +36,7 @@ impl Memory { /// Creates a new host `Memory` from the provided [`MemoryType`]. /// /// This function will construct the `Memory` using the store - /// [`BaseTunables`][crate::sys::BaseTunables]. + /// `BaseTunables`. /// /// # Example /// diff --git a/lib/api/src/externals/table.rs b/lib/api/src/externals/table.rs index 3be94a342cf..49eb38924f8 100644 --- a/lib/api/src/externals/table.rs +++ b/lib/api/src/externals/table.rs @@ -30,8 +30,7 @@ impl Table { /// /// All the elements in the table will be set to the `init` value. /// - /// This function will construct the `Table` using the store - /// [`BaseTunables`][crate::sys::BaseTunables]. + /// This function will construct the `Table` using the store `BaseTunables`. pub fn new( store: &mut impl AsStoreMut, ty: TableType, diff --git a/lib/api/src/js/module.rs b/lib/api/src/js/module.rs index 2b5b2c1b0f5..04fb2c7fdcb 100644 --- a/lib/api/src/js/module.rs +++ b/lib/api/src/js/module.rs @@ -23,7 +23,7 @@ use wasmer_types::{ /// /// This should be fixed once the JS-Types Wasm proposal is adopted /// by the browsers: -/// https://github.com/WebAssembly/js-types/blob/master/proposals/js-types/Overview.md +/// /// /// Until that happens, we annotate the module with the expected /// types so we can built on top of them at runtime. diff --git a/lib/api/src/js/module_info_polyfill.rs b/lib/api/src/js/module_info_polyfill.rs index 769e427f326..5ddf5746be3 100644 --- a/lib/api/src/js/module_info_polyfill.rs +++ b/lib/api/src/js/module_info_polyfill.rs @@ -3,8 +3,8 @@ //! //! This shall not be needed once the JS type reflection API is available //! for the Wasm imports and exports. -//! -//! https://github.com/WebAssembly/js-types/blob/master/proposals/js-types/Overview.md +//! +//! use core::convert::TryFrom; use std::vec::Vec; use wasmer_types::entity::EntityRef;