Skip to content

Commit 6a14508

Browse files
committed
Redirects: get rid of the weird gap in Ch. 20 sections!
Bonus: fix internal *numbering* references in several places where I had missed it when renumbering the links for the new Ch. 17.
1 parent 82a4a49 commit 6a14508

34 files changed

+42
-38
lines changed

2018-edition/src/ch19-03-advanced-traits.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
The 2018 edition of the book is no longer distributed with Rust's documentation.
44

55
If you came here via a link or web search, you may want to check out [the current
6-
version of the book](../ch20-03-advanced-traits.html) instead.
6+
version of the book](../ch20-02-advanced-traits.html) instead.
77

88
If you have an internet connection, you can [find a copy distributed with
99
Rust

2018-edition/src/ch19-04-advanced-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
The 2018 edition of the book is no longer distributed with Rust's documentation.
44

55
If you came here via a link or web search, you may want to check out [the current
6-
version of the book](../ch20-04-advanced-types.html) instead.
6+
version of the book](../ch20-03-advanced-types.html) instead.
77

88
If you have an internet connection, you can [find a copy distributed with
99
Rust

2018-edition/src/ch19-05-advanced-functions-and-closures.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
The 2018 edition of the book is no longer distributed with Rust's documentation.
44

55
If you came here via a link or web search, you may want to check out [the current
6-
version of the book](../ch20-05-advanced-functions-and-closures.html) instead.
6+
version of the book](../ch20-04-advanced-functions-and-closures.html) instead.
77

88
If you have an internet connection, you can [find a copy distributed with
99
Rust

2018-edition/src/ch19-06-macros.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
The 2018 edition of the book is no longer distributed with Rust's documentation.
44

55
If you came here via a link or web search, you may want to check out [the current
6-
version of the book](../ch20-06-macros.html) instead.
6+
version of the book](../ch20-05-macros.html) instead.
77

88
If you have an internet connection, you can [find a copy distributed with
99
Rust

book.toml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,14 @@ git-repository-url = "https://github.com/rust-lang/book"
2121
"ch18-03-pattern-syntax.html" = "ch19-03-pattern-syntax.html"
2222
"ch19-00-advanced-features.html" = "ch20-00-advanced-features.html"
2323
"ch19-01-unsafe-rust.html" = "ch20-01-unsafe-rust.html"
24-
"ch19-03-advanced-traits.html" = "ch20-03-advanced-traits.html"
25-
"ch19-04-advanced-types.html" = "ch20-04-advanced-types.html"
26-
"ch19-05-advanced-functions-and-closures.html" = "ch20-05-advanced-functions-and-closures.html"
27-
"ch19-06-macros.html" = "ch20-06-macros.html"
24+
"ch19-03-advanced-traits.html" = "ch20-02-advanced-traits.html"
25+
"ch20-03-advanced-traits.html" = "ch20-02-advanced-traits.html"
26+
"ch19-04-advanced-types.html" = "ch20-03-advanced-types.html"
27+
"ch20-04-advanced-types.html" = "ch20-03-advanced-types.html"
28+
"ch19-05-advanced-functions-and-closures.html" = "ch20-04-advanced-functions-and-closures.html"
29+
"ch20-05-advanced-functions-and-closures.html" = "ch20-04-advanced-functions-and-closures.html"
30+
"ch19-06-macros.html" = "ch20-05-macros.html"
31+
"ch20-06-macros.html" = "ch20-05-macros.html"
2832
"ch20-00-final-project-a-web-server.html" = "ch21-00-final-project-a-web-server.html"
2933
"ch20-01-single-threaded.html" = "ch21-01-single-threaded.html"
3034
"ch20-02-multithreaded.html" = "ch21-02-multithreaded.html"

first-edition/src/associated-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
The first edition of the book is no longer distributed with Rust's documentation.
44

55
If you came here via a link or web search, you may want to check out [the current
6-
version of the book](../ch20-03-advanced-traits.html#specifying-placeholder-types-in-trait-definitions-with-associated-types) instead.
6+
version of the book](../ch20-02-advanced-traits.html#specifying-placeholder-types-in-trait-definitions-with-associated-types) instead.
77

88
If you have an internet connection, you can [find a copy distributed with
99
Rust

first-edition/src/macros.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
The first edition of the book is no longer distributed with Rust's documentation.
44

55
If you came here via a link or web search, you may want to check out [the current
6-
version of the book](../ch20-06-macros.html) instead.
6+
version of the book](../ch20-05-macros.html) instead.
77

88
If you have an internet connection, you can [find a copy distributed with
99
Rust

first-edition/src/operators-and-overloading.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
The first edition of the book is no longer distributed with Rust's documentation.
44

55
If you came here via a link or web search, you may want to check out [the current
6-
version of the book](../ch20-03-advanced-traits.html#default-generic-type-parameters-and-operator-overloading) instead.
6+
version of the book](../ch20-02-advanced-traits.html#default-generic-type-parameters-and-operator-overloading) instead.
77

88
If you have an internet connection, you can [find a copy distributed with
99
Rust

first-edition/src/procedural-macros.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
The first edition of the book is no longer distributed with Rust's documentation.
44

55
If you came here via a link or web search, you may want to check out [the current
6-
version of the book](../ch20-06-macros.html?highlight=procedural#procedural-macros-for-generating-code-from-attributes) instead.
6+
version of the book](../ch20-05-macros.html?highlight=procedural#procedural-macros-for-generating-code-from-attributes) instead.
77

88
If you have an internet connection, you can [find a copy distributed with
99
Rust

first-edition/src/type-aliases.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
The first edition of the book is no longer distributed with Rust's documentation.
44

55
If you came here via a link or web search, you may want to check out [the current
6-
version of the book](../ch20-04-advanced-types.html#creating-type-synonyms-with-type-aliases) instead.
6+
version of the book](../ch20-03-advanced-types.html#creating-type-synonyms-with-type-aliases) instead.
77

88
If you have an internet connection, you can [find a copy distributed with
99
Rust

0 commit comments

Comments
 (0)