Skip to content

Commit

Permalink
Merge pull request rustwasm#1593 from vmx/patch-1
Browse files Browse the repository at this point in the history
guide: fix typo in rust-type-conversions.md
  • Loading branch information
alexcrichton authored Jun 12, 2019
2 parents 1c558fa + 5c79298 commit f027bb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guide/src/contributing/design/rust-type-conversions.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f027bb2

Please sign in to comment.