Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
KSXGitHub authored Dec 22, 2018
1 parent 9db0add commit af06c6f
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 af06c6f

Please sign in to comment.