From 8ac5f2e6e61c1662661493a13d591e6a10669d4a Mon Sep 17 00:00:00 2001 From: Anders Pitman Date: Tue, 5 Jun 2018 17:34:15 -0700 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e026632b..d1866174 100644 --- a/README.md +++ b/README.md @@ -484,8 +484,8 @@ impls, and foreign modules. Impls can only contain functions, and the attribute cannot be attached to functions in an impl block or functions in a foreign module. No lifetime parameters or type parameters are allowed on any of these types. Foreign modules must have the `"C"` abi (or none listed). Free functions -with `#[wasm_bindgen]` might no have the `"C"` abi or none listed and also not -needed to annotate with the `#[no_mangle]` attribute. +with `#[wasm_bindgen]` might not have the `"C"` abi or none listed, and it's also not +necessary to annotate with the `#[no_mangle]` attribute. All structs referenced through arguments to functions should be defined in the macro itself. Arguments allowed implement the `WasmBoundary` trait, and examples