Skip to content

Commit

Permalink
Update link for no_std attribute.
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Feb 15, 2021
1 parent af564b2 commit f44bc98
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/doc/src/reference/features-examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Then, in various places in the code ([example1][wasm-bindgen-cfg1],
[example2][wasm-bindgen-cfg2]), it uses `#[cfg(feature = "std")]` attributes
to conditionally enable extra functionality that requires `std`.

[`no_std`]: ../../reference/crates-and-source-files.html#preludes-and-no_std
[`no_std`]: ../../reference/names/preludes.html#the-no_std-attribute
[`wasm-bindgen`]: https://crates.io/crates/wasm-bindgen
[`std` prelude]: ../../std/prelude/index.html
[wasm-bindgen-std]: https://github.com/rustwasm/wasm-bindgen/blob/0.2.69/Cargo.toml#L25
Expand Down
2 changes: 1 addition & 1 deletion src/doc/src/reference/features.md
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ pub fn function_that_requires_std() {
}
```

[`no_std`]: ../../reference/crates-and-source-files.html#preludes-and-no_std
[`no_std`]: ../../reference/names/preludes.html#the-no_std-attribute
[features section]: resolver.md#features

#### Mutually exclusive features
Expand Down
2 changes: 1 addition & 1 deletion src/doc/src/reference/semver.md
Original file line number Diff line number Diff line change
Expand Up @@ -1328,7 +1328,7 @@ your decisions on how to apply versioning to your application, or at least
document what your commitments are.

[`cfg` attribute]: ../../reference/conditional-compilation.md#the-cfg-attribute
[`no_std`]: ../../reference/crates-and-source-files.html#preludes-and-no_std
[`no_std`]: ../../reference/names/preludes.html#the-no_std-attribute
[`pub use`]: ../../reference/items/use-declarations.html
[Cargo feature]: features.md
[Cargo features]: features.md
Expand Down

0 comments on commit f44bc98

Please sign in to comment.