Skip to content

Commit

Permalink
chore(rust-sys): update rustdoc
Browse files Browse the repository at this point in the history
Signed-off-by: Xin Liu <[email protected]>
  • Loading branch information
apepkuss committed Jun 25, 2023
1 parent b3612c7 commit 3d730b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/wasmedge-sys/src/instance/function.rs
Original file line number Diff line number Diff line change
Expand Up @@ -285,11 +285,11 @@ impl Function {
/// ```rust
/// use wasmedge_sys::{FuncType, Function, WasmValue, CallingFrame};
/// use wasmedge_types::{error::HostFuncError, ValType, WasmEdgeResult, NeverType};
/// use wasmedge_macro::sys_async_host_function_new;
/// use wasmedge_macro::sys_async_host_function;
/// use std::future::Future;
/// use std::os::raw::c_void;
///
/// #[sys_async_host_function_new]
/// #[sys_async_host_function]
/// async fn real_add<T>(
/// _frame: CallingFrame,
/// input: Vec<WasmValue>,
Expand Down

0 comments on commit 3d730b1

Please sign in to comment.