Browse Source

Fix a doc link

pull/2585/head
Alex Crichton 4 years ago
parent
commit
d66db16d00
  1. 4
      crates/wasmtime/src/func.rs

4
crates/wasmtime/src/func.rs

@ -371,8 +371,8 @@ impl Func {
///
/// Finally you can also optionally take [`Caller`] as the first argument of
/// your closure. If inserted then you're able to inspect the caller's
/// state, for example the [`Memory`] it has exported so you can read what
/// pointers point to.
/// state, for example the [`Memory`](crate::Memory) it has exported so you
/// can read what pointers point to.
///
/// Note that when using this API, the intention is to create as thin of a
/// layer as possible for when WebAssembly calls the function provided. With

Loading…
Cancel
Save