mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-10 06:38:22 +00:00
doc(api) Improve documentation.
This commit is contained in:
3
lib/api/src/externals/function.rs
vendored
3
lib/api/src/externals/function.rs
vendored
@@ -993,7 +993,8 @@ mod inner {
|
||||
|
||||
// Implement `WasmTypeList` on `Infallible`, which means that
|
||||
// `Infallible` can be used as a returned type of a host function
|
||||
// to express that it doesn't return.
|
||||
// to express that it doesn't return, or to express that it cannot
|
||||
// fail (with `Result<_, Infallible>`).
|
||||
impl WasmTypeList for Infallible {
|
||||
type CStruct = Self;
|
||||
type Array = [i128; 0];
|
||||
|
||||
Reference in New Issue
Block a user