From ff8a73c7c26fac9d4caebae6e5d1d3b70cb45ccd Mon Sep 17 00:00:00 2001 From: NikVolf Date: Tue, 15 Sep 2020 13:07:50 +0000 Subject: [PATCH] doc effort --- client/executor/common/src/wasm_runtime.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/client/executor/common/src/wasm_runtime.rs b/client/executor/common/src/wasm_runtime.rs index 5d5ec3d63616b..d8022c173a8d8 100644 --- a/client/executor/common/src/wasm_runtime.rs +++ b/client/executor/common/src/wasm_runtime.rs @@ -33,9 +33,10 @@ pub enum CallSite<'a> { Table(u32), /// Call function by reference from table through a wrapper. /// - /// Located function should have (u32, u32, u32) -> u64 signature. + /// Invoked function (`dispatcher_ref`) function + /// should have (u32, u32, u32) -> u64 signature. /// - /// `func` will be passed to the + /// `func` will be passed to the invoked function as a first argument. TableWithWrapper { /// Wrapper for call. dispatcher_ref: u32,