Skip to content

Commit 56fbf22

Browse files
authored
Fix typo in wasm-bindgen doc page
1 parent 5355b65 commit 56fbf22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/docs/concepts/basic-web-technologies/wasm-bindgen.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ _[`JsCast` documentation](https://rustwasm.github.io/wasm-bindgen/api/wasm_bindg
169169

170170
### [`Closure`](https://rustwasm.github.io/wasm-bindgen/api/wasm_bindgen/closure/struct.Closure.html)
171171

172-
The `Closure` type provides a way to transfer Rust closures to JavaScript, the closures past to
172+
The `Closure` type provides a way to transfer Rust closures to JavaScript, the closures passed to
173173
JavaScript must have a `'static` lifetime for soundness reasons.
174174

175175
This type is a "handle" in the sense that whenever it is dropped it will invalidate the JS

0 commit comments

Comments
 (0)