diff --git a/docs/src/tutorials/npm-browser-packages/index.md b/docs/src/tutorials/npm-browser-packages/index.md index c38f461e..614851d7 100644 --- a/docs/src/tutorials/npm-browser-packages/index.md +++ b/docs/src/tutorials/npm-browser-packages/index.md @@ -9,7 +9,7 @@ much Rust knowledge to complete this tutorial. Be sure to have done the following before starting: 1. [Install `wasm-pack`](https://rustwasm.github.io/wasm-pack/installer/) -1. Read and install the [Prerequisites](../../../prerequisites/index.html). +1. Read and install the [Prerequisites](../../prerequisites/index.html). ⚠️ We strongly recommend that you install [Node.js] using a version manager. You can learn more [here](https://npmjs.com/get-npm). diff --git a/docs/src/tutorials/npm-browser-packages/template-deep-dive/src-lib-rs.md b/docs/src/tutorials/npm-browser-packages/template-deep-dive/src-lib-rs.md index 1a0624a8..808375c3 100644 --- a/docs/src/tutorials/npm-browser-packages/template-deep-dive/src-lib-rs.md +++ b/docs/src/tutorials/npm-browser-packages/template-deep-dive/src-lib-rs.md @@ -17,7 +17,7 @@ We'll start with the most important part of `lib.rs` -- the two `#[wasm_bindgen] To expose functionality from the `wasm-bindgen` crate more conveniently we can use the `use` keyword. `use` allows us to conveniently refer to parts of a crate or module. You can learn more about how Rust -lets you write modular code in [this chapter of the book](https://doc.rust-lang.org/book/ch07-02-modules-and-use-to-control-scope-and-privacy.html). +lets you write modular code in [this chapter of the book](https://doc.rust-lang.org/book/ch07-02-defining-modules-to-control-scope-and-privacy.html). ```rust use wasm_bindgen::prelude::*;