From cecb629cd8a02244221456b4a78b5275c505527d Mon Sep 17 00:00:00 2001 From: Oliver Date: Wed, 23 Aug 2023 20:54:02 -0400 Subject: [PATCH] Fix typo Co-authored-by: Liam Murphy --- guide/src/reference/attributes/on-rust-exports/constructor.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guide/src/reference/attributes/on-rust-exports/constructor.md b/guide/src/reference/attributes/on-rust-exports/constructor.md index 4b154b7cc45..3e5fc2d4deb 100644 --- a/guide/src/reference/attributes/on-rust-exports/constructor.md +++ b/guide/src/reference/attributes/on-rust-exports/constructor.md @@ -35,7 +35,7 @@ console.log(f.get_contents()); ## Caveats -Starting from v0.2.48 there is a bug in the `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: +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: ```rust use wasm_bindgen::prelude::*;