rustwasm / book

The Rust and WebAssembly Book
https://rustwasm.github.io/docs/book/
MIT License
1.75k stars 211 forks source link

Add missing wasm_bindgen for Universe implementation #221

Open ramonberrutti opened 4 years ago

ramonberrutti commented 4 years ago

Summary

Following the tutorial, I found that the first implementation of the Universe structure is missing the macro of wasm_bindgen. I know that in the following code is set, but when you are following a tutorial, you only focus on parts that change.

elasticdotventures commented 2 years ago

See issue # (https://github.com/rustwasm/book/issues/211)