From 78afe02ac1f0019fc45e500a1709cc573b869268 Mon Sep 17 00:00:00 2001 From: Donald <31354724+dlqs@users.noreply.github.com> Date: Tue, 14 Jan 2020 01:50:51 +0800 Subject: [PATCH] make clearer where to add web-sys as dependency --- src/game-of-life/debugging.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/game-of-life/debugging.md b/src/game-of-life/debugging.md index b6536b55..f32e6fdf 100644 --- a/src/game-of-life/debugging.md +++ b/src/game-of-life/debugging.md @@ -37,6 +37,10 @@ First, add `web-sys` as a dependency and enable its `"console"` feature in `wasm-game-of-life/Cargo.toml`: ```toml +[dependencies] + +# ... + [dependencies.web-sys] version = "0.3" features = [