From 652f47495aeb7c27496292eb9eff3944b3bff31a Mon Sep 17 00:00:00 2001 From: Nick Fitzgerald Date: Mon, 1 Jun 2020 14:28:08 -0700 Subject: [PATCH] wasmtime: Make `Func::store` a public method --- crates/wasmtime/src/func.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/crates/wasmtime/src/func.rs b/crates/wasmtime/src/func.rs index febd02b76e..95fd6460dc 100644 --- a/crates/wasmtime/src/func.rs +++ b/crates/wasmtime/src/func.rs @@ -727,9 +727,7 @@ impl Func { (get15, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15) } - // This should be `pub(crate)` but the C API happens to need it in one - // place. - #[doc(hidden)] + /// Get a reference to this function's store. pub fn store(&self) -> &Store { &self.instance.store }