Skip to content

Commit 35dfbbe

Browse files
authored
Merge pull request #642 from ehuss/fix-misc-links
Fix some links.
2 parents a258c97 + dd637f8 commit 35dfbbe

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/expressions/struct-expr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ expressions].
150150
[if]: if-expr.md#if-expressions
151151
[loop]: loop-expr.md
152152
[match]: match-expr.md
153-
[parentheses]: http://localhost:3000/expressions/grouped-expr.html
153+
[parentheses]: grouped-expr.md
154154
[struct]: ../items/structs.md
155155
[union]: ../items/unions.md
156156
[visible]: ../visibility-and-privacy.md

src/items/modules.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ mod thread {
123123
## Prelude Items
124124

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

142142
[_InnerAttribute_]: ../attributes.md
143143
[_Item_]: ../items.md
144-
[`#[macro_use]`]: macros-by-example.html#the-macro_use-attribute
144+
[macro_use]: ../macros-by-example.md#the-macro_use-attribute
145145
[`cfg`]: ../conditional-compilation.md
146146
[`deprecated`]: ../attributes/diagnostics.md#the-deprecated-attribute
147147
[`doc`]: ../../rustdoc/the-doc-attribute.html

src/linkage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ fn main() {
200200
}
201201
```
202202

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

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

0 commit comments

Comments
 (0)