Skip to content

Commit 1d4965c

Browse files
Make it clearer which versions are affected by the constructor bug (#4249)
1 parent f2888bb commit 1d4965c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guide/src/reference/attributes/on-rust-exports/constructor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ console.log(f.get_contents());
3535

3636
## Caveats
3737

38-
Starting from v0.2.48 there is a bug in `wasm-bindgen` which breaks inheritance of exported Rust structs from JavaScript side (see [#3213](https://github.com/rustwasm/wasm-bindgen/issues/3213)). If you want to inherit from a Rust struct such as:
38+
In versions `>=v0.2.48, <0.2.88` of `wasm-bindgen`, there is a bug which breaks inheritance of exported Rust structs from JavaScript side (see [#3213](https://github.com/rustwasm/wasm-bindgen/issues/3213)). If you want to inherit from a Rust struct such as:
3939

4040
```rust
4141
use wasm_bindgen::prelude::*;

0 commit comments

Comments
 (0)