Skip to content

Commit

Permalink
fix: Update some links that are broken when compiling for the browser
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-F-Bryan committed Aug 31, 2023
1 parent 4cd65e8 commit 30631c1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/api/src/externals/memory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
///
Expand Down
3 changes: 1 addition & 2 deletions lib/api/src/externals/table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion lib/api/src/js/module.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
/// <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.
Expand Down
4 changes: 2 additions & 2 deletions lib/api/src/js/module_info_polyfill.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
//!
//! <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;
Expand Down

0 comments on commit 30631c1

Please sign in to comment.