Skip to content

Commit

Permalink
Merge pull request #1124 from KSXGitHub/patch-1
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
alexcrichton authored Dec 22, 2018
2 parents 9db0add + af06c6f commit 465bb38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guide/src/contributing/design/importing-js-struct.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ what's written down in Rust. Now there's a few attribute annotations here, so
let's go through one-by-one:

* `#[wasm_bindgen(module = "./bar")]` - seen before with imports this is declare
where all the subsequent functionality is imported form. For example the `Bar`
where all the subsequent functionality is imported from. For example the `Bar`
type is going to be imported from the `./bar` module.
* `type Bar` - this is a declaration of JS class as a new type in Rust. This
means that a new type `Bar` is generated which is "opaque" but is represented
Expand Down

0 comments on commit 465bb38

Please sign in to comment.