mirror of
https://github.com/fluencelabs/wasmer
synced 2025-03-30 22:41:03 +00:00
Merge #1189
1189: Fix a couple typos in comments. r=MarkMcCaskey a=nlewycky Co-authored-by: Nick Lewycky <nick@wasmer.io>
This commit is contained in:
commit
abbdda7ebe
@ -140,7 +140,7 @@ pub trait WasmTypeList {
|
|||||||
|
|
||||||
/// This method is used to distribute the values onto a function,
|
/// This method is used to distribute the values onto a function,
|
||||||
/// e.g. `(1, 2).call(func, …)`. This form is unlikely to be used
|
/// e.g. `(1, 2).call(func, …)`. This form is unlikely to be used
|
||||||
/// directly in the code, see the `Func:call` implementation.
|
/// directly in the code, see the `Func::call` implementation.
|
||||||
unsafe fn call<Rets>(
|
unsafe fn call<Rets>(
|
||||||
self,
|
self,
|
||||||
f: NonNull<vm::Func>,
|
f: NonNull<vm::Func>,
|
||||||
@ -191,7 +191,7 @@ where
|
|||||||
Args: WasmTypeList,
|
Args: WasmTypeList,
|
||||||
Rets: WasmTypeList,
|
Rets: WasmTypeList,
|
||||||
{
|
{
|
||||||
/// Conver to function pointer.
|
/// Convert to function pointer.
|
||||||
fn to_raw(self) -> (NonNull<vm::Func>, Option<NonNull<vm::FuncEnv>>);
|
fn to_raw(self) -> (NonNull<vm::Func>, Option<NonNull<vm::FuncEnv>>);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user