mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-04-14 16:36:07 +00:00
Fix example in docs
This commit is contained in:
parent
e2af5639c5
commit
22f92af124
@ -534,7 +534,7 @@ pub enum TypePosition {
|
|||||||
|
|
||||||
/// Implemented on an AST type node to get equivalent list of syn types and type names that do not have unions.
|
/// Implemented on an AST type node to get equivalent list of syn types and type names that do not have unions.
|
||||||
/// For example, it turns `Promise<(sequence<object> or short)>` into
|
/// For example, it turns `Promise<(sequence<object> or short)>` into
|
||||||
/// corresponding syn types and type names of `[Promise<sequence<object>>, short]`.
|
/// corresponding syn types and type names of `[Promise<sequence<object>>, Promise<short>]`.
|
||||||
trait GetArgumentPossibilities<'src> {
|
trait GetArgumentPossibilities<'src> {
|
||||||
/// Returns option that contains a value if the conversion succeeds.
|
/// Returns option that contains a value if the conversion succeeds.
|
||||||
/// The value is a vector of argument possibilities.
|
/// The value is a vector of argument possibilities.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user