Skip to content

Update links to ch07-02 #1832

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 25, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion first-edition/src/crates-and-modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion first-edition/src/type-aliases.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion redirects/crates-and-modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion second-edition/src/ch07-00-modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -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-modules-and-use-to-control-scope-and-privacy.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
Expand Down
2 changes: 1 addition & 1 deletion second-edition/src/ch07-01-mod-and-the-filesystem.md
Original file line number Diff line number Diff line change
Expand Up @@ -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-modules-and-use-to-control-scope-and-privacy.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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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-modules-and-use-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
Expand Down
2 changes: 1 addition & 1 deletion second-edition/src/ch07-03-importing-names-with-use.md
Original file line number Diff line number Diff line change
Expand Up @@ -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-modules-and-use-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
Expand Down
2 changes: 1 addition & 1 deletion src/ch04-01-what-is-ownership.md
Original file line number Diff line number Diff line change
Expand Up @@ -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-modules-and-use-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
2 changes: 1 addition & 1 deletion src/ch11-01-writing-tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -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-modules-and-use-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
2 changes: 1 addition & 1 deletion src/ch11-03-test-organization.md
Original file line number Diff line number Diff line change
Expand Up @@ -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-modules-and-use-to-control-scope-and-privacy.html#separating-modules-into-different-files
ch07-05-separating-modules-into-different-files.html