rustwasm / book

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

Missing `cargo update` step in docs #77

Open runiq opened 6 years ago

runiq commented 6 years ago

Where in the docs did you come across this?

https://rustwasm.github.io/book/game-of-life/hello-world.html

Describe what about it does not make sense. Why does it not make sense?

When running npm run build-debug, cargo asks me to do cargo update first, because Cargo.lock says the project is linked against wasm-bindgen 0.2.13 and I was using 0.2.17.

How could we improve it?

Adding the cargo update step to the docs (or maybe removing Cargo.lock entirely) would help