From af06c6fc3d3dc293db8e4cfc802c41c84bebbfb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kh=E1=BA=A3i?= Date: Sat, 22 Dec 2018 16:15:12 +0700 Subject: [PATCH] Fix typo --- guide/src/contributing/design/importing-js-struct.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guide/src/contributing/design/importing-js-struct.md b/guide/src/contributing/design/importing-js-struct.md index 06a13eca2d9..9bdb46975ed 100644 --- a/guide/src/contributing/design/importing-js-struct.md +++ b/guide/src/contributing/design/importing-js-struct.md @@ -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