Merge pull request #1294 from tyleranton/fix-typo

Fix typo in Js Objects in Rust
This commit is contained in:
Alex Crichton 2019-02-25 13:58:44 -06:00 committed by GitHub
commit 6cabb07358
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.