doc(api) Improve documentation.

This commit is contained in:
Ivan Enderlin
2020-06-23 09:40:35 +02:00
parent 9e1533c587
commit 66f28134c8

View File

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