Skip to content

Commit 419edb8

Browse files
committed
Fix links for mdbook 0.1
1 parent 5ee2111 commit 419edb8

File tree

16 files changed

+17
-17
lines changed

16 files changed

+17
-17
lines changed

src/editions/transitioning-an-existing-project-to-a-new-edition.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ trait Foo {
2121
```
2222

2323
This code uses an anonymous parameter, that `Box<Foo>`. This is [not
24-
supported in Rust 2018](../rust-2018/trait-system/no-anon-params.html), and
24+
supported in Rust 2018](rust-2018/trait-system/no-anon-params.html), and
2525
so this would fail to compile. Let's get this code up to date!
2626

2727
## Updating your code to be compatible with the new edition
@@ -89,7 +89,7 @@ trait Foo {
8989
```
9090

9191
In Rust 2018, it's considered idiomatic to use the [`dyn`
92-
keyword](../rust-2018/trait-system/dyn-trait-for-trait-objects.html) for
92+
keyword](rust-2018/trait-system/dyn-trait-for-trait-objects.html) for
9393
trait objects.
9494

9595
Eventually, we want `cargo fix` to fix all these idioms automatically in the same
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Cargo and crates.io
22

3-
[check]: cargo-check-for-faster-checking.md
3+
[check]: rust-2018/cargo-and-crates-io/cargo-check-for-faster-checking.html
44

55
In this chapter of the guide, we discuss a few improvements to `cargo` and crates.io.
66
A notable addition here is the new [`cargo check`][check] command.

src/rust-2018/control-flow/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Control flow
22

3-
[async_await]: async-await-for-easier-concurrency.md
3+
[async_await]: rust-2018/control-flow/async-await-for-easier-concurrency.html
44

55
In this chapter of the guide, we discuss a few improvements to control flow.
66
The most notable of these *will* be [`async` and `await`][async_await].

src/rust-2018/data-types/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Data types
22

3-
[fis]: field-init-shorthand.md
3+
[fis]: rust-2018/data-types/field-init-shorthand.html
44

55
In this chapter of the guide, we discuss a few improvements to data types.
66
One of these are [field-init-shorthand][fis].

src/rust-2018/documentation/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Documentation
22

3-
[sec_ed]: new-editions-of-the-book.md
3+
[sec_ed]: rust-2018/documentation/new-editions-of-the-book.html
44

55
In this chapter of the guide, we discuss a few improvements to documentation.
66
A notable addition here is the [second edition of "the book"][sec_ed].
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Error handling and Panics
22

3-
[qop]: the-question-mark-operator-for-easier-error-handling.md
3+
[qop]: rust-2018/error-handling-and-panics/the-question-mark-operator-for-easier-error-handling.html
44

55
In this chapter of the guide, we discuss a few improvements to error handling
66
in Rust. The most notable of these is [the introduction of the `?` operator][qop].

src/rust-2018/macros/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Macros
22

3-
[custom-derive]: custom-derive.md
3+
[custom-derive]: rust-2018/macros/custom-derive.html
44

55
In this chapter of the guide, we discuss a few improvements to the macro system.
66
A notable addition here is the introduction of [custom derive macros][custom-derive].

src/rust-2018/module-system/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Module system
22

3-
[path clarity changes]: path-clarity.md
3+
[path clarity changes]: rust-2018/module-system/path-clarity.html
44

55
In this chapter of the guide, we discuss a few changes to the module system.
66
The most notable of these are the [path clarity changes].

src/rust-2018/module-system/path-clarity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Finally, on nightly, you'll need it for crates like:
9393
#### Macros
9494

9595
One other use for `extern crate` was to import macros; that's no longer needed.
96-
Check [the macro section](../macros/macro-changes.html) for more.
96+
Check [the macro section](rust-2018/macros/macro-changes.html) for more.
9797

9898
If you've been using `as` to rename your crate like this:
9999

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Ownership and lifetimes
22

3-
[dmbm]: default-match-bindings.md
3+
[dmbm]: rust-2018/ownership-and-lifetimes/default-match-bindings.html
44

55
In this chapter of the guide, we discuss a few improvements to ownership and lifetimes.
66
One of the most notable of these is [default match binding modes][dmbm].

0 commit comments

Comments
 (0)