Skip to content

Commit

Permalink
fix many links in redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
steveklabnik committed Jan 26, 2018
1 parent 4feb5fd commit 62210e3
Show file tree
Hide file tree
Showing 13 changed files with 18 additions and 21 deletions.
2 changes: 1 addition & 1 deletion redirects/associated-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ Here are the relevant sections in the new and old books:


[1]: first-edition/associated-types.html
[2]: second-edition/ch19-03-advanced-traits.html#associated-types
[2]: second-edition/ch19-03-advanced-traits.html#associated-types-specify-placeholder-types-in-trait-definitions
4 changes: 2 additions & 2 deletions redirects/casting-between-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ fn average(values: &[f64]) -> f64 {

Here are the relevant sections in the new and old books:

* **[In the second edition: Appendix BOperators, section Type Cast Expressions][2]**
* **[In the second edition: Appendix AKeywords][2]**
* [In the Rust Reference: Type Cast Expressions][3]
* [In the Rust documentation: `mem::transmute`][4]
* <small>[In the first edition: Ch 3.29 — Casting between types][1]</small>


[1]: first-edition/casting-between-types.html
[2]: second-edition/appendix-02-operators.html#type-cast-expressions
[2]: second-edition/appendix-01-keywords.html
[3]: ../reference/expressions/operator-expr.html#type-cast-expressions
[4]: ../std/mem/fn.transmute.html
3 changes: 0 additions & 3 deletions redirects/compiler-plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,5 @@
This particular chapter has moved to [the Unstable Book][2].

* **[In the Unstable Rust Book: `plugin`][2]**
* <small><del>[In the first edition: Compiler Plugins][1]</del> (does not exist anymore)</small>


[1]: first-edition/compiler-plugins.html
[2]: ../unstable-book/language-features/plugin.html
2 changes: 1 addition & 1 deletion redirects/conditional-compilation.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ The best place to learn about it is [the Rust Reference][3].


[1]: first-edition/conditional-compilation.html
[2]: second-edition/
[2]: second-edition/index.html
[3]: ../reference/attributes.html#conditional-compilation
2 changes: 1 addition & 1 deletion redirects/effective-rust.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ It is recommended to start there.


[1]: first-edition/effective-rust.html
[2]: second-edition/
[2]: second-edition/index.html
2 changes: 1 addition & 1 deletion redirects/ffi.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ Here are the relevant sections in the new and old books:


[1]: first-edition/ffi.html
[2]: second-edition/ch19-01-unsafe-rust.html#extern--functions-for-calling-external-code-are-unsafe
[2]: second-edition/ch19-01-unsafe-rust.html#using-extern-functions-to-call-external-code
2 changes: 1 addition & 1 deletion redirects/glossary.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ It is recommended to start there.


[1]: first-edition/glossary.html
[2]: second-edition/
[2]: second-edition/index.html
4 changes: 2 additions & 2 deletions redirects/macros.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ You can check out other resources that describe macros.

* **[Rust By Example: Macros][3]**
* [In the Rust Reference: Ch 3.1 — Macros by Example][4]
* [In the second edition: (future) Appendix E — Macros][2]
* [In the second edition: (future) Appendix D — Macros][2]
* <small>[In the first edition: Ch 3.34 — Macros][1]</small>


[1]: first-edition/macros.html
[2]: second-edition/appendix-05-macros.html
[2]: second-edition/appendix-04-macros.html
[3]: https://rustbyexample.com/macros.html
[4]: ../reference/macros-by-example.html
4 changes: 2 additions & 2 deletions redirects/operators-and-overloading.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ Here are the relevant sections in the new and old books:
* <small>[In the first edition: Ch 3.32 — Operators and Overloading][1]</small>

[1]: first-edition/operators-and-overloading.html
[2]: second-edition/ch19-03-advanced-traits.html#operator-overloading-and-default-type-parameters
[3]: ../std/ops/
[2]: second-edition/ch19-03-advanced-traits.html#default-generic-type-parameters-and-operator-overloading
[3]: ../std/ops/index.html
6 changes: 3 additions & 3 deletions redirects/procedural-macros.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ You can check out other resources that describe macros.

* **[In the Rust Reference: Ch 3.2 — Procedural Macros][4]**
* [The `proc_macro` crate documentation][3]
* [In the second edition: (future) Appendix E — Macros][2]
* [In the second edition: (future) Appendix D — Macros][2]
* <small>[In the first edition: Ch 4.13 — Procedural Macros (and custom Derive)][1]</small>


[1]: first-edition/procedural-macros.html
[2]: second-edition/appendix-05-macros.html
[3]: ../stable/proc_macro/index.html
[2]: second-edition/appendix-04-macros.html
[3]: ../proc_macro/index.html
[4]: ../reference/procedural-macros.html
4 changes: 2 additions & 2 deletions redirects/release-channels.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ You can check out other resources that describe release channels.
* **[In the Rustup documentation: Keeping Rust Up-to-date][4]**
* [On the website: Install Rust][5]
* [In the Rust RFCs: RFC 507 — Release Channels][3]
* [In the second edition: (future) Appendix D — Nightly Rust][2]
* [In the second edition: How Rust is Made and “Nightly Rust][2]
* <small>[In the first edition: Ch 4.11 — Release Channels][1]</small>


[1]: first-edition/release-channels.html
[2]: second-edition/appendix-04-nightly-rust.html
[2]: second-edition/ch01-03-how-rust-is-made-and-nightly-rust.html
[3]: https://github.com/rust-lang/rfcs/blob/master/text/0507-release-channels.md
[4]: https://github.com/rust-lang-nursery/rustup.rs/blob/master/README.md#keeping-rust-up-to-date
[5]: https://www.rust-lang.org/en-US/install.html
Expand Down
2 changes: 1 addition & 1 deletion redirects/ufcs.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ Here are the relevant sections in the new and old books:


[1]: first-edition/ufcs.html
[2]: second-edition/ch19-03-advanced-traits.html#fully-qualified-syntax-for-disambiguation
[2]: second-edition/ch19-03-advanced-traits.html#fully-qualified-syntax-for-disambiguation-calling-methods-with-the-same-name
2 changes: 1 addition & 1 deletion redirects/unsafe.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ Here are the relevant sections in the new and old books:

[1]: first-edition/unsafe.html
[2]: second-edition/ch19-01-unsafe-rust.html
[3]: ../nomicon/
[3]: ../nomicon/index.html

0 comments on commit 62210e3

Please sign in to comment.