mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-29 13:06:06 +03:00
doc: Add number suffix hint for JS function calls
This commit is contained in:
parent
9147e3211e
commit
84a477d78d
@ -29,3 +29,6 @@ impl VecU32 {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Since Rust has no function overloading, the `call#` method also requires a
|
||||||
|
number representing the amount of arguments passed to the JavaScript closure.
|
||||||
|
Loading…
Reference in New Issue
Block a user