Where in the docs did you come across this?https://rustwasm.github.io/docs/book/game-of-life/hello-world.htmlDescribe what about it does not make sense
The first code example has the cfg_if macro, but the latest code at https://github.com/rustwasm/wasm-pack-template/blob/master/src/lib.rs does not use it.
Why does it not make sense?
Because the latest code is not being used/
How could we improve it?
I will do a PR, but I'm putting this issue to check if I am correct.
I did make sure that the templates were updated in #238. I didn't see it in the latest version of the book, but if it was present, it's gone. I assume another PR fixed it but this issue wasn't closed with it.
Where in the docs did you come across this? https://rustwasm.github.io/docs/book/game-of-life/hello-world.html Describe what about it does not make sense The first code example has the
cfg_if
macro, but the latest code athttps://github.com/rustwasm/wasm-pack-template/blob/master/src/lib.rs
does not use it. Why does it not make sense? Because the latest code is not being used/ How could we improve it? I will do a PR, but I'm putting this issue to check if I am correct.