mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2025-01-05 19:53:55 +03:00
Merge pull request #1294 from tyleranton/fix-typo
Fix typo in Js Objects in Rust
This commit is contained in:
commit
6cabb07358
@ -18,7 +18,7 @@ pushed.
|
|||||||
|
|
||||||
JS objects are then only removed from the bottom of the stack as well. Removal
|
JS objects are then only removed from the bottom of the stack as well. Removal
|
||||||
is simply storing null then incrementing a counter. Because of the "stack-y"
|
is simply storing null then incrementing a counter. Because of the "stack-y"
|
||||||
nature of this sceheme it only works for when wasm doesn't hold onto a JS object
|
nature of this scheme it only works for when wasm doesn't hold onto a JS object
|
||||||
(aka it only gets a "reference" in Rust parlance).
|
(aka it only gets a "reference" in Rust parlance).
|
||||||
|
|
||||||
Let's take a look at an example.
|
Let's take a look at an example.
|
||||||
|
Loading…
Reference in New Issue
Block a user