Merge pull request #1593 from vmx/patch-1

guide: fix typo in rust-type-conversions.md
This commit is contained in:
Alex Crichton 2019-06-12 09:04:19 -05:00 committed by GitHub
commit f027bb2e09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -97,7 +97,7 @@ data for a function call.
The global stack is a fixed-sized static allocation in the wasm module. This
stack is temporary scratch space for any one function call from either JS to
Rust or Rust ot JS. Both Rust and the JS shim generated have pointers to this
Rust or Rust to JS. Both Rust and the JS shim generated have pointers to this
global stack and will read/write information from it.
Using this scheme whenever we want to pass `&str` from JS to Rust we can pass