Skip to content

Commit

Permalink
Remove outdated comment about path dependency. (#2129)
Browse files Browse the repository at this point in the history
The path dependency was turned into a regular version dependency in PR #1015, so it doesn't need to be
called out as special anymore.
This commit also changes the phrasing in the preceding sentence.
  • Loading branch information
mstange committed May 11, 2020
1 parent 8e3d6fe commit 6b5f734
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions guide/src/examples/hello-world.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ function in Rust.

## `Cargo.toml`

The `Cargo.toml` enables depends on the `wasm-bindgen` crate. Here we're using
a `path` dependency because this example lives in the `wasm-bindgen` repository
itself, but you'd use the commented out version beneath it instead.
The `Cargo.toml` lists the `wasm-bindgen` crate as a dependency.

Also of note is the `crate-type = ["cdylib"]` which is largely used for wasm
final artifacts today.
Expand Down

0 comments on commit 6b5f734

Please sign in to comment.