From d66db16d00e3054429a5818d19b097ef935f0ac0 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Thu, 14 Jan 2021 14:38:05 -0800 Subject: [PATCH] Fix a doc link --- crates/wasmtime/src/func.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/wasmtime/src/func.rs b/crates/wasmtime/src/func.rs index 23bf36f73b..7f68b97964 100644 --- a/crates/wasmtime/src/func.rs +++ b/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