Skip to content

Commit

Permalink
Merge pull request rust-lang#642 from ehuss/fix-misc-links
Browse files Browse the repository at this point in the history
Fix some links.
  • Loading branch information
Havvy authored Jul 16, 2019
2 parents a258c97 + dd637f8 commit 35dfbbe
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/expressions/struct-expr.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ expressions].
[if]: if-expr.md#if-expressions
[loop]: loop-expr.md
[match]: match-expr.md
[parentheses]: http://localhost:3000/expressions/grouped-expr.html
[parentheses]: grouped-expr.md
[struct]: ../items/structs.md
[union]: ../items/unions.md
[visible]: ../visibility-and-privacy.md
Expand Down
4 changes: 2 additions & 2 deletions src/items/modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ mod thread {
## Prelude Items

Modules implicitly have some names in scope. These name are to built-in types,
macros imported with [`#[macro_use]`] on an extern crate, and by the crate's
macros imported with [`#[macro_use]`][macro_use] on an extern crate, and by the crate's
[prelude]. These names are all made of a single identifier. These names are not
part of the module, so for example, any name `name`, `self::name` is not a
valid path. The names added by the [prelude] can be removed by placing the
Expand All @@ -141,7 +141,7 @@ The built-in attributes that have meaning on a function are [`cfg`],

[_InnerAttribute_]: ../attributes.md
[_Item_]: ../items.md
[`#[macro_use]`]: macros-by-example.html#the-macro_use-attribute
[macro_use]: ../macros-by-example.md#the-macro_use-attribute
[`cfg`]: ../conditional-compilation.md
[`deprecated`]: ../attributes/diagnostics.md#the-deprecated-attribute
[`doc`]: ../../rustdoc/the-doc-attribute.html
Expand Down
2 changes: 1 addition & 1 deletion src/linkage.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ fn main() {
}
```

[cargo]: http://doc.crates.io/environment-variables.html#environment-variables-cargo-sets-for-build-scripts
[cargo]: ../cargo/reference/environment-variables.html#environment-variables-cargo-sets-for-build-scripts

To use this feature locally, you typically will use the `RUSTFLAGS` environment
variable to specify flags to the compiler through Cargo. For example to compile
Expand Down

0 comments on commit 35dfbbe

Please sign in to comment.