Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix broken doc links #925

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/src/tutorials/npm-browser-packages/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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::*;
Expand Down