From 1768b73dcc18deb1cf02fbcc53c7ea3da9405894 Mon Sep 17 00:00:00 2001 From: Kornel Date: Mon, 25 Feb 2019 01:13:38 +0000 Subject: [PATCH] More link fixes --- first-edition/src/crates-and-modules.md | 2 +- first-edition/src/type-aliases.md | 2 +- redirects/crates-and-modules.md | 2 +- second-edition/src/ch07-02-controlling-visibility-with-pub.md | 2 +- second-edition/src/ch07-03-importing-names-with-use.md | 2 +- src/ch04-01-what-is-ownership.md | 2 +- src/ch11-01-writing-tests.md | 2 +- src/ch11-03-test-organization.md | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/first-edition/src/crates-and-modules.md b/first-edition/src/crates-and-modules.md index acbb066b..66262b34 100644 --- a/first-edition/src/crates-and-modules.md +++ b/first-edition/src/crates-and-modules.md @@ -3,7 +3,7 @@ The first edition of the book is no longer distributed with Rust's documentation. If you came here via a link or web search, you may want to check out [the current -version of the book](../ch07-00-packages-crates-and-modules.html) instead. +version of the book](../ch07-00-managing-growing-projects-with-packages-crates-and-modules.html) instead. If you have an internet connection, you can [find a copy distributed with Rust diff --git a/first-edition/src/type-aliases.md b/first-edition/src/type-aliases.md index 9e5d892a..7ac51ff1 100644 --- a/first-edition/src/type-aliases.md +++ b/first-edition/src/type-aliases.md @@ -3,7 +3,7 @@ The first edition of the book is no longer distributed with Rust's documentation. If you came here via a link or web search, you may want to check out [the current -version of the book](../ch19-04-advanced-types.html#type-aliases-create-type-synonyms) instead. +version of the book](../ch19-04-advanced-types.html#creating-type-synonyms-with-type-aliases) instead. If you have an internet connection, you can [find a copy distributed with Rust diff --git a/redirects/crates-and-modules.md b/redirects/crates-and-modules.md index a9fad841..d526c956 100644 --- a/redirects/crates-and-modules.md +++ b/redirects/crates-and-modules.md @@ -24,5 +24,5 @@ Here are the relevant sections in the new and old books: [1]: https://doc.rust-lang.org/1.30.0/book/first-edition/crates-and-modules.html -[2]: ch07-00-packages-crates-and-modules.html +[2]: ch07-00-managing-growing-projects-with-packages-crates-and-modules.html [3]: ch14-02-publishing-to-crates-io.html diff --git a/second-edition/src/ch07-02-controlling-visibility-with-pub.md b/second-edition/src/ch07-02-controlling-visibility-with-pub.md index aa561282..8eb9e545 100644 --- a/second-edition/src/ch07-02-controlling-visibility-with-pub.md +++ b/second-edition/src/ch07-02-controlling-visibility-with-pub.md @@ -3,7 +3,7 @@ The second edition of the book is no longer distributed with Rust's documentation. If you came here via a link or web search, you may want to check out [the current -version of the book](../ch07-02-defining-modules-to-control-scope-and-privacy.html#using-the-pub-keyword-to-make-items-public.html) instead. +version of the book](../ch07-02-defining-modules-to-control-scope-and-privacy.html) instead. If you have an internet connection, you can [find a copy distributed with Rust diff --git a/second-edition/src/ch07-03-importing-names-with-use.md b/second-edition/src/ch07-03-importing-names-with-use.md index 05552362..afcdc29d 100644 --- a/second-edition/src/ch07-03-importing-names-with-use.md +++ b/second-edition/src/ch07-03-importing-names-with-use.md @@ -3,7 +3,7 @@ The second edition of the book is no longer distributed with Rust's documentation. If you came here via a link or web search, you may want to check out [the current -version of the book](../ch07-02-defining-modules-to-control-scope-and-privacy.html#the-use-keyword-to-bring-paths-into-a-scope.html) instead. +version of the book](../ch07-04-bringing-paths-into-scope-with-the-use-keyword.html) instead. If you have an internet connection, you can [find a copy distributed with Rust diff --git a/src/ch04-01-what-is-ownership.md b/src/ch04-01-what-is-ownership.md index 7609114b..5012d861 100644 --- a/src/ch04-01-what-is-ownership.md +++ b/src/ch04-01-what-is-ownership.md @@ -559,4 +559,4 @@ common. Luckily for us, Rust has a feature for this concept, called [data-types]: ch03-02-data-types.html#data-types [derivable-traits]: appendix-03-derivable-traits.html [method-syntax]: ch05-03-method-syntax.html#method-syntax -[paths-module-tree]: ch07-02-defining-modules-to-control-scope-and-privacy.html#paths-for-referring-to-an-item-in-the-module-tree +[paths-module-tree]: ch07-03-paths-for-referring-to-an-item-in-the-module-tree.html diff --git a/src/ch11-01-writing-tests.md b/src/ch11-01-writing-tests.md index 1367e031..6676fdfd 100644 --- a/src/ch11-01-writing-tests.md +++ b/src/ch11-01-writing-tests.md @@ -849,4 +849,4 @@ ch08-02-strings.html#concatenation-with-the--operator-or-the-format-macro ch11-02-running-tests.html#controlling-how-tests-are-run [derivable-traits]: appendix-03-derivable-traits.html [doc-comments]: ch14-02-publishing-to-crates-io.html#documentation-comments-as-tests -[modules-as-privacy-boundary]: ch07-02-defining-modules-to-control-scope-and-privacy.html#modules-as-the-privacy-boundary +[modules-as-privacy-boundary]: ch07-02-defining-modules-to-control-scope-and-privacy.html diff --git a/src/ch11-03-test-organization.md b/src/ch11-03-test-organization.md index b4b79401..56bbccba 100644 --- a/src/ch11-03-test-organization.md +++ b/src/ch11-03-test-organization.md @@ -325,4 +325,4 @@ Let’s combine the knowledge you learned in this chapter and in previous chapters to work on a project! [separating-modules-into-files]: -ch07-02-defining-modules-to-control-scope-and-privacy.html#separating-modules-into-different-files +ch07-05-separating-modules-into-different-files.html