chore(api) improve documentation.

This commit is contained in:
Ivan Enderlin
2020-06-23 10:37:23 +02:00
parent 80990a0f72
commit 52ea6543e2

View File

@@ -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>