mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-08 13:48:26 +00:00
chore(api) improve documentation.
This commit is contained in:
2
lib/api/src/externals/function.rs
vendored
2
lib/api/src/externals/function.rs
vendored
@@ -948,6 +948,8 @@ mod inner {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Implement `HostFunction` for a function that has the same arity than the tuple.
|
||||||
|
// This specific function has an environment.
|
||||||
#[allow(unused_parens)]
|
#[allow(unused_parens)]
|
||||||
impl< $( $x, )* Rets, RetsAsResult, Env, Func >
|
impl< $( $x, )* Rets, RetsAsResult, Env, Func >
|
||||||
HostFunction<( $( $x ),* ), Rets, WithEnv, Env>
|
HostFunction<( $( $x ),* ), Rets, WithEnv, Env>
|
||||||
|
|||||||
Reference in New Issue
Block a user