Skip to content

Commit 1ca54f2

Browse files
authored
Fix two cases of non-deterministic iteration (#2304)
* Fix two cases of non-deterministic iteration This commit fixes an issue of nondeterministic JS generation when closures were used, updating a few iterations of hash maps to iterate in a sorted manner rather than via the raw internal order. Closes #2302 * Reformat web-sys with latest proc-macro
1 parent c34606e commit 1ca54f2

File tree

1,140 files changed

+9059
-9056
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,140 files changed

+9059
-9056
lines changed

crates/cli-support/src/descriptors.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,10 @@ impl WasmBindgenDescriptorsSection {
116116
// freshly manufactured import. Save off the type of this import in
117117
// ourselves, and then we're good to go.
118118
let ty = module.funcs.get(wbindgen_describe_closure).ty();
119-
for (func, descriptor) in func_to_descriptor {
119+
// sort to ensure ids and caches are consistent across runs
120+
let mut items = func_to_descriptor.into_iter().collect::<Vec<_>>();
121+
items.sort_by_key(|i| i.0);
122+
for (func, descriptor) in items {
120123
// This uses a cache so that if the same closure exists multiple times it will
121124
// deduplicate it so it only exists once.
122125
let id = match self.cached_closures.get(&descriptor) {

crates/cli-support/src/wit/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,13 +183,13 @@ impl<'a> Context<'a> {
183183
// Finally we store all this metadata in the import map which we've
184184
// learned so when a binding for the import is generated we can
185185
// generate all the appropriate shims.
186-
for (id, descriptor) in closure_imports {
186+
for (id, descriptor) in crate::sorted_iter(&closure_imports) {
187187
let signature = Function {
188188
shim_idx: 0,
189189
arguments: vec![Descriptor::I32; 3],
190190
ret: Descriptor::Externref,
191191
};
192-
let id = self.import_adapter(id, signature, AdapterJsImportKind::Normal)?;
192+
let id = self.import_adapter(*id, signature, AdapterJsImportKind::Normal)?;
193193
// Synthesize the two integer pointers we pass through which
194194
// aren't present in the signature but are present in the wasm
195195
// signature.

crates/web-sys/src/features/gen_AbortController.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use super::*;
33
use wasm_bindgen::prelude::*;
44
#[wasm_bindgen]
55
extern "C" {
6-
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AbortController , typescript_type = "AbortController" ) ]
6+
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = AbortController , typescript_type = "AbortController")]
77
#[derive(Debug, Clone, PartialEq, Eq)]
88
#[doc = "The `AbortController` class."]
99
#[doc = ""]
@@ -12,7 +12,7 @@ extern "C" {
1212
#[doc = "*This API requires the following crate features to be activated: `AbortController`*"]
1313
pub type AbortController;
1414
#[cfg(feature = "AbortSignal")]
15-
# [ wasm_bindgen ( structural , method , getter , js_class = "AbortController" , js_name = signal ) ]
15+
# [wasm_bindgen (structural , method , getter , js_class = "AbortController" , js_name = signal)]
1616
#[doc = "Getter for the `signal` field of this object."]
1717
#[doc = ""]
1818
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/signal)"]
@@ -26,7 +26,7 @@ extern "C" {
2626
#[doc = ""]
2727
#[doc = "*This API requires the following crate features to be activated: `AbortController`*"]
2828
pub fn new() -> Result<AbortController, JsValue>;
29-
# [ wasm_bindgen ( method , structural , js_class = "AbortController" , js_name = abort ) ]
29+
# [wasm_bindgen (method , structural , js_class = "AbortController" , js_name = abort)]
3030
#[doc = "The `abort()` method."]
3131
#[doc = ""]
3232
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort)"]

crates/web-sys/src/features/gen_AbortSignal.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,29 @@ use super::*;
33
use wasm_bindgen::prelude::*;
44
#[wasm_bindgen]
55
extern "C" {
6-
# [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = AbortSignal , typescript_type = "AbortSignal" ) ]
6+
# [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = AbortSignal , typescript_type = "AbortSignal")]
77
#[derive(Debug, Clone, PartialEq, Eq)]
88
#[doc = "The `AbortSignal` class."]
99
#[doc = ""]
1010
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal)"]
1111
#[doc = ""]
1212
#[doc = "*This API requires the following crate features to be activated: `AbortSignal`*"]
1313
pub type AbortSignal;
14-
# [ wasm_bindgen ( structural , method , getter , js_class = "AbortSignal" , js_name = aborted ) ]
14+
# [wasm_bindgen (structural , method , getter , js_class = "AbortSignal" , js_name = aborted)]
1515
#[doc = "Getter for the `aborted` field of this object."]
1616
#[doc = ""]
1717
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/aborted)"]
1818
#[doc = ""]
1919
#[doc = "*This API requires the following crate features to be activated: `AbortSignal`*"]
2020
pub fn aborted(this: &AbortSignal) -> bool;
21-
# [ wasm_bindgen ( structural , method , getter , js_class = "AbortSignal" , js_name = onabort ) ]
21+
# [wasm_bindgen (structural , method , getter , js_class = "AbortSignal" , js_name = onabort)]
2222
#[doc = "Getter for the `onabort` field of this object."]
2323
#[doc = ""]
2424
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/onabort)"]
2525
#[doc = ""]
2626
#[doc = "*This API requires the following crate features to be activated: `AbortSignal`*"]
2727
pub fn onabort(this: &AbortSignal) -> Option<::js_sys::Function>;
28-
# [ wasm_bindgen ( structural , method , setter , js_class = "AbortSignal" , js_name = onabort ) ]
28+
# [wasm_bindgen (structural , method , setter , js_class = "AbortSignal" , js_name = onabort)]
2929
#[doc = "Setter for the `onabort` field of this object."]
3030
#[doc = ""]
3131
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/onabort)"]

crates/web-sys/src/features/gen_AddEventListenerOptions.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use super::*;
33
use wasm_bindgen::prelude::*;
44
#[wasm_bindgen]
55
extern "C" {
6-
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AddEventListenerOptions ) ]
6+
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = AddEventListenerOptions)]
77
#[derive(Debug, Clone, PartialEq, Eq)]
88
#[doc = "The `AddEventListenerOptions` dictionary."]
99
#[doc = ""]

crates/web-sys/src/features/gen_AesCbcParams.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use super::*;
33
use wasm_bindgen::prelude::*;
44
#[wasm_bindgen]
55
extern "C" {
6-
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AesCbcParams ) ]
6+
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = AesCbcParams)]
77
#[derive(Debug, Clone, PartialEq, Eq)]
88
#[doc = "The `AesCbcParams` dictionary."]
99
#[doc = ""]

crates/web-sys/src/features/gen_AesCtrParams.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use super::*;
33
use wasm_bindgen::prelude::*;
44
#[wasm_bindgen]
55
extern "C" {
6-
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AesCtrParams ) ]
6+
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = AesCtrParams)]
77
#[derive(Debug, Clone, PartialEq, Eq)]
88
#[doc = "The `AesCtrParams` dictionary."]
99
#[doc = ""]

crates/web-sys/src/features/gen_AesDerivedKeyParams.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use super::*;
33
use wasm_bindgen::prelude::*;
44
#[wasm_bindgen]
55
extern "C" {
6-
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AesDerivedKeyParams ) ]
6+
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = AesDerivedKeyParams)]
77
#[derive(Debug, Clone, PartialEq, Eq)]
88
#[doc = "The `AesDerivedKeyParams` dictionary."]
99
#[doc = ""]

crates/web-sys/src/features/gen_AesGcmParams.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use super::*;
33
use wasm_bindgen::prelude::*;
44
#[wasm_bindgen]
55
extern "C" {
6-
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AesGcmParams ) ]
6+
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = AesGcmParams)]
77
#[derive(Debug, Clone, PartialEq, Eq)]
88
#[doc = "The `AesGcmParams` dictionary."]
99
#[doc = ""]

crates/web-sys/src/features/gen_AesKeyAlgorithm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use super::*;
33
use wasm_bindgen::prelude::*;
44
#[wasm_bindgen]
55
extern "C" {
6-
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AesKeyAlgorithm ) ]
6+
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = AesKeyAlgorithm)]
77
#[derive(Debug, Clone, PartialEq, Eq)]
88
#[doc = "The `AesKeyAlgorithm` dictionary."]
99
#[doc = ""]

crates/web-sys/src/features/gen_AesKeyGenParams.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use super::*;
33
use wasm_bindgen::prelude::*;
44
#[wasm_bindgen]
55
extern "C" {
6-
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AesKeyGenParams ) ]
6+
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = AesKeyGenParams)]
77
#[derive(Debug, Clone, PartialEq, Eq)]
88
#[doc = "The `AesKeyGenParams` dictionary."]
99
#[doc = ""]

crates/web-sys/src/features/gen_Algorithm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use super::*;
33
use wasm_bindgen::prelude::*;
44
#[wasm_bindgen]
55
extern "C" {
6-
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = Algorithm ) ]
6+
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = Algorithm)]
77
#[derive(Debug, Clone, PartialEq, Eq)]
88
#[doc = "The `Algorithm` dictionary."]
99
#[doc = ""]

crates/web-sys/src/features/gen_AnalyserNode.rs

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,71 +3,71 @@ use super::*;
33
use wasm_bindgen::prelude::*;
44
#[wasm_bindgen]
55
extern "C" {
6-
# [ wasm_bindgen ( extends = AudioNode , extends = EventTarget , extends = :: js_sys :: Object , js_name = AnalyserNode , typescript_type = "AnalyserNode" ) ]
6+
# [wasm_bindgen (extends = AudioNode , extends = EventTarget , extends = :: js_sys :: Object , js_name = AnalyserNode , typescript_type = "AnalyserNode")]
77
#[derive(Debug, Clone, PartialEq, Eq)]
88
#[doc = "The `AnalyserNode` class."]
99
#[doc = ""]
1010
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode)"]
1111
#[doc = ""]
1212
#[doc = "*This API requires the following crate features to be activated: `AnalyserNode`*"]
1313
pub type AnalyserNode;
14-
# [ wasm_bindgen ( structural , method , getter , js_class = "AnalyserNode" , js_name = fftSize ) ]
14+
# [wasm_bindgen (structural , method , getter , js_class = "AnalyserNode" , js_name = fftSize)]
1515
#[doc = "Getter for the `fftSize` field of this object."]
1616
#[doc = ""]
1717
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/fftSize)"]
1818
#[doc = ""]
1919
#[doc = "*This API requires the following crate features to be activated: `AnalyserNode`*"]
2020
pub fn fft_size(this: &AnalyserNode) -> u32;
21-
# [ wasm_bindgen ( structural , method , setter , js_class = "AnalyserNode" , js_name = fftSize ) ]
21+
# [wasm_bindgen (structural , method , setter , js_class = "AnalyserNode" , js_name = fftSize)]
2222
#[doc = "Setter for the `fftSize` field of this object."]
2323
#[doc = ""]
2424
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/fftSize)"]
2525
#[doc = ""]
2626
#[doc = "*This API requires the following crate features to be activated: `AnalyserNode`*"]
2727
pub fn set_fft_size(this: &AnalyserNode, value: u32);
28-
# [ wasm_bindgen ( structural , method , getter , js_class = "AnalyserNode" , js_name = frequencyBinCount ) ]
28+
# [wasm_bindgen (structural , method , getter , js_class = "AnalyserNode" , js_name = frequencyBinCount)]
2929
#[doc = "Getter for the `frequencyBinCount` field of this object."]
3030
#[doc = ""]
3131
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/frequencyBinCount)"]
3232
#[doc = ""]
3333
#[doc = "*This API requires the following crate features to be activated: `AnalyserNode`*"]
3434
pub fn frequency_bin_count(this: &AnalyserNode) -> u32;
35-
# [ wasm_bindgen ( structural , method , getter , js_class = "AnalyserNode" , js_name = minDecibels ) ]
35+
# [wasm_bindgen (structural , method , getter , js_class = "AnalyserNode" , js_name = minDecibels)]
3636
#[doc = "Getter for the `minDecibels` field of this object."]
3737
#[doc = ""]
3838
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/minDecibels)"]
3939
#[doc = ""]
4040
#[doc = "*This API requires the following crate features to be activated: `AnalyserNode`*"]
4141
pub fn min_decibels(this: &AnalyserNode) -> f64;
42-
# [ wasm_bindgen ( structural , method , setter , js_class = "AnalyserNode" , js_name = minDecibels ) ]
42+
# [wasm_bindgen (structural , method , setter , js_class = "AnalyserNode" , js_name = minDecibels)]
4343
#[doc = "Setter for the `minDecibels` field of this object."]
4444
#[doc = ""]
4545
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/minDecibels)"]
4646
#[doc = ""]
4747
#[doc = "*This API requires the following crate features to be activated: `AnalyserNode`*"]
4848
pub fn set_min_decibels(this: &AnalyserNode, value: f64);
49-
# [ wasm_bindgen ( structural , method , getter , js_class = "AnalyserNode" , js_name = maxDecibels ) ]
49+
# [wasm_bindgen (structural , method , getter , js_class = "AnalyserNode" , js_name = maxDecibels)]
5050
#[doc = "Getter for the `maxDecibels` field of this object."]
5151
#[doc = ""]
5252
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/maxDecibels)"]
5353
#[doc = ""]
5454
#[doc = "*This API requires the following crate features to be activated: `AnalyserNode`*"]
5555
pub fn max_decibels(this: &AnalyserNode) -> f64;
56-
# [ wasm_bindgen ( structural , method , setter , js_class = "AnalyserNode" , js_name = maxDecibels ) ]
56+
# [wasm_bindgen (structural , method , setter , js_class = "AnalyserNode" , js_name = maxDecibels)]
5757
#[doc = "Setter for the `maxDecibels` field of this object."]
5858
#[doc = ""]
5959
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/maxDecibels)"]
6060
#[doc = ""]
6161
#[doc = "*This API requires the following crate features to be activated: `AnalyserNode`*"]
6262
pub fn set_max_decibels(this: &AnalyserNode, value: f64);
63-
# [ wasm_bindgen ( structural , method , getter , js_class = "AnalyserNode" , js_name = smoothingTimeConstant ) ]
63+
# [wasm_bindgen (structural , method , getter , js_class = "AnalyserNode" , js_name = smoothingTimeConstant)]
6464
#[doc = "Getter for the `smoothingTimeConstant` field of this object."]
6565
#[doc = ""]
6666
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/smoothingTimeConstant)"]
6767
#[doc = ""]
6868
#[doc = "*This API requires the following crate features to be activated: `AnalyserNode`*"]
6969
pub fn smoothing_time_constant(this: &AnalyserNode) -> f64;
70-
# [ wasm_bindgen ( structural , method , setter , js_class = "AnalyserNode" , js_name = smoothingTimeConstant ) ]
70+
# [wasm_bindgen (structural , method , setter , js_class = "AnalyserNode" , js_name = smoothingTimeConstant)]
7171
#[doc = "Setter for the `smoothingTimeConstant` field of this object."]
7272
#[doc = ""]
7373
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/smoothingTimeConstant)"]
@@ -93,28 +93,28 @@ extern "C" {
9393
context: &BaseAudioContext,
9494
options: &AnalyserOptions,
9595
) -> Result<AnalyserNode, JsValue>;
96-
# [ wasm_bindgen ( method , structural , js_class = "AnalyserNode" , js_name = getByteFrequencyData ) ]
96+
# [wasm_bindgen (method , structural , js_class = "AnalyserNode" , js_name = getByteFrequencyData)]
9797
#[doc = "The `getByteFrequencyData()` method."]
9898
#[doc = ""]
9999
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/getByteFrequencyData)"]
100100
#[doc = ""]
101101
#[doc = "*This API requires the following crate features to be activated: `AnalyserNode`*"]
102102
pub fn get_byte_frequency_data(this: &AnalyserNode, array: &mut [u8]);
103-
# [ wasm_bindgen ( method , structural , js_class = "AnalyserNode" , js_name = getByteTimeDomainData ) ]
103+
# [wasm_bindgen (method , structural , js_class = "AnalyserNode" , js_name = getByteTimeDomainData)]
104104
#[doc = "The `getByteTimeDomainData()` method."]
105105
#[doc = ""]
106106
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/getByteTimeDomainData)"]
107107
#[doc = ""]
108108
#[doc = "*This API requires the following crate features to be activated: `AnalyserNode`*"]
109109
pub fn get_byte_time_domain_data(this: &AnalyserNode, array: &mut [u8]);
110-
# [ wasm_bindgen ( method , structural , js_class = "AnalyserNode" , js_name = getFloatFrequencyData ) ]
110+
# [wasm_bindgen (method , structural , js_class = "AnalyserNode" , js_name = getFloatFrequencyData)]
111111
#[doc = "The `getFloatFrequencyData()` method."]
112112
#[doc = ""]
113113
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/getFloatFrequencyData)"]
114114
#[doc = ""]
115115
#[doc = "*This API requires the following crate features to be activated: `AnalyserNode`*"]
116116
pub fn get_float_frequency_data(this: &AnalyserNode, array: &mut [f32]);
117-
# [ wasm_bindgen ( method , structural , js_class = "AnalyserNode" , js_name = getFloatTimeDomainData ) ]
117+
# [wasm_bindgen (method , structural , js_class = "AnalyserNode" , js_name = getFloatTimeDomainData)]
118118
#[doc = "The `getFloatTimeDomainData()` method."]
119119
#[doc = ""]
120120
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/getFloatTimeDomainData)"]

crates/web-sys/src/features/gen_AnalyserOptions.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use super::*;
33
use wasm_bindgen::prelude::*;
44
#[wasm_bindgen]
55
extern "C" {
6-
# [ wasm_bindgen ( extends = :: js_sys :: Object , js_name = AnalyserOptions ) ]
6+
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = AnalyserOptions)]
77
#[derive(Debug, Clone, PartialEq, Eq)]
88
#[doc = "The `AnalyserOptions` dictionary."]
99
#[doc = ""]

crates/web-sys/src/features/gen_AngleInstancedArrays.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ use super::*;
33
use wasm_bindgen::prelude::*;
44
#[wasm_bindgen]
55
extern "C" {
6-
# [ wasm_bindgen ( is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = ANGLE_instanced_arrays , typescript_type = "ANGLE_instanced_arrays" ) ]
6+
# [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = ANGLE_instanced_arrays , typescript_type = "ANGLE_instanced_arrays")]
77
#[derive(Debug, Clone, PartialEq, Eq)]
88
#[doc = "The `AngleInstancedArrays` class."]
99
#[doc = ""]
1010
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ANGLE_instanced_arrays)"]
1111
#[doc = ""]
1212
#[doc = "*This API requires the following crate features to be activated: `AngleInstancedArrays`*"]
1313
pub type AngleInstancedArrays;
14-
# [ wasm_bindgen ( method , structural , js_class = "ANGLE_instanced_arrays" , js_name = drawArraysInstancedANGLE ) ]
14+
# [wasm_bindgen (method , structural , js_class = "ANGLE_instanced_arrays" , js_name = drawArraysInstancedANGLE)]
1515
#[doc = "The `drawArraysInstancedANGLE()` method."]
1616
#[doc = ""]
1717
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ANGLE_instanced_arrays/drawArraysInstancedANGLE)"]
@@ -24,7 +24,7 @@ extern "C" {
2424
count: i32,
2525
primcount: i32,
2626
);
27-
# [ wasm_bindgen ( method , structural , js_class = "ANGLE_instanced_arrays" , js_name = drawElementsInstancedANGLE ) ]
27+
# [wasm_bindgen (method , structural , js_class = "ANGLE_instanced_arrays" , js_name = drawElementsInstancedANGLE)]
2828
#[doc = "The `drawElementsInstancedANGLE()` method."]
2929
#[doc = ""]
3030
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ANGLE_instanced_arrays/drawElementsInstancedANGLE)"]
@@ -38,7 +38,7 @@ extern "C" {
3838
offset: i32,
3939
primcount: i32,
4040
);
41-
# [ wasm_bindgen ( method , structural , js_class = "ANGLE_instanced_arrays" , js_name = drawElementsInstancedANGLE ) ]
41+
# [wasm_bindgen (method , structural , js_class = "ANGLE_instanced_arrays" , js_name = drawElementsInstancedANGLE)]
4242
#[doc = "The `drawElementsInstancedANGLE()` method."]
4343
#[doc = ""]
4444
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ANGLE_instanced_arrays/drawElementsInstancedANGLE)"]
@@ -52,7 +52,7 @@ extern "C" {
5252
offset: f64,
5353
primcount: i32,
5454
);
55-
# [ wasm_bindgen ( method , structural , js_class = "ANGLE_instanced_arrays" , js_name = vertexAttribDivisorANGLE ) ]
55+
# [wasm_bindgen (method , structural , js_class = "ANGLE_instanced_arrays" , js_name = vertexAttribDivisorANGLE)]
5656
#[doc = "The `vertexAttribDivisorANGLE()` method."]
5757
#[doc = ""]
5858
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ANGLE_instanced_arrays/vertexAttribDivisorANGLE)"]

0 commit comments

Comments
 (0)