Fix a doc link

This commit is contained in:
Alex Crichton
2021-01-14 14:38:05 -08:00
parent bc9f10115d
commit d66db16d00

View File

@@ -371,8 +371,8 @@ impl Func {
/// ///
/// Finally you can also optionally take [`Caller`] as the first argument of /// 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 /// 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 /// state, for example the [`Memory`](crate::Memory) it has exported so you
/// pointers point to. /// can read what pointers point to.
/// ///
/// Note that when using this API, the intention is to create as thin of a /// 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 /// layer as possible for when WebAssembly calls the function provided. With