mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-04-25 14:12:13 +00:00
Fix TypedArray::subarray
docs (#2021)
Looks like these were mistakenly copy-pasted from the `TypedArray::set` method.
This commit is contained in:
parent
93cb6cb65d
commit
1e75e415b3
@ -4847,8 +4847,9 @@ macro_rules! arrays {
|
||||
#[wasm_bindgen(getter, method)]
|
||||
pub fn buffer(this: &$name) -> ArrayBuffer;
|
||||
|
||||
/// The `subarray()` method stores multiple values in the typed array,
|
||||
/// reading input values from a specified array.
|
||||
/// The `subarray()` method returns a new `TypedArray` on the same
|
||||
/// `ArrayBuffer` store and with the same element types as for this
|
||||
/// `TypedArray` object.
|
||||
#[wasm_bindgen(method)]
|
||||
pub fn subarray(this: &$name, begin: u32, end: u32) -> $name;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user