From 915b85bb5ab54eef892a400a7e278899dbb01841 Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Wed, 27 Feb 2019 22:29:15 -0800 Subject: [PATCH] Update some book links to their new homes. --- src/c-tips/index.md | 4 ++-- src/intro/index.md | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/c-tips/index.md b/src/c-tips/index.md index 217f6286..cdda3c83 100644 --- a/src/c-tips/index.md +++ b/src/c-tips/index.md @@ -102,7 +102,7 @@ item, or pattern. Procedural macros are more complex but permit extremely powerful additions to the Rust language: they can transform arbitrary Rust syntax into new Rust syntax. -[macro system]: https://doc.rust-lang.org/book/second-edition/appendix-04-macros.html +[macro system]: https://doc.rust-lang.org/book/ch19-06-macros.html In general, where you might have used a C preprocessor macro, you probably want to see if a macro-by-example can do the job instead. They can be defined in @@ -194,7 +194,7 @@ data processing code. See the [Iterators in the Book] and [Iterator documentation] for more details. -[Iterators in the Book]: https://doc.rust-lang.org/book/second-edition/ch13-02-iterators.html +[Iterators in the Book]: https://doc.rust-lang.org/book/ch13-02-iterators.html [Iterator documentation]: https://doc.rust-lang.org/core/iter/trait.Iterator.html ## References vs Pointers diff --git a/src/intro/index.md b/src/intro/index.md index 88fa40ec..60643912 100644 --- a/src/intro/index.md +++ b/src/intro/index.md @@ -5,7 +5,7 @@ Programming Language on "Bare Metal" embedded systems, such as Microcontrollers. ## Who Embedded Rust is For Embedded Rust is for everyone who wants to do embedded programming while taking advantage of the higher-level concepts and safety guarantees the Rust language provides. -(See also [Who Rust Is For](https://doc.rust-lang.org/book/2018-edition/ch00-00-introduction.html)) +(See also [Who Rust Is For](https://doc.rust-lang.org/book/ch00-00-introduction.html)) ## Scope @@ -41,7 +41,7 @@ you might want to catch up on. be familiar with the idioms of the [2018 edition] as this book targets Rust 2018. -[2018 edition]: https://rust-lang-nursery.github.io/edition-guide/ +[2018 edition]: https://doc.rust-lang.org/edition-guide/ * You are comfortable developing and debugging embedded systems in another language such as C, C++, or Ada, and are familiar with concepts such as: @@ -55,7 +55,7 @@ If you are unfamiliar with anything mentioned above or if you want more informat | Topic | Resource | Description | |--------------|----------|-------------| -| Rust | [Rust Book 2018 Edition](https://doc.rust-lang.org/book/2018-edition/index.html) | If you are not yet comfortable with Rust, we highly suggest reading the this book. | +| Rust | [Rust Book](https://doc.rust-lang.org/book/) | If you are not yet comfortable with Rust, we highly suggest reading the this book. | | Rust, Embedded | [Embedded Rust Bookshelf](https://docs.rust-embedded.org) | Here you can find several other resources provided by Rust's Embedded Working Group. | | Rust, Embedded | [Embedonomicon](https://docs.rust-embedded.org/embedonomicon/) | The nitty gritty details when doing embedded programming in Rust. | | Rust, Embedded | [embedded FAQ](https://docs.rust-embedded.org/faq.html) | Frequently asked questions about Rust in an embedded context. |