1
Fork 0
rust/src/doc
bors d7a9d961c3 Auto merge of #56615 - integer32llc:update-book, r=GuillaumeGomez
Update the book to fix some edition-related bugs

I'd love to have this included in a point release if one happens, but the changes aren't worth doing a point release on their own IMO. I'd definitely like to see this backported to beta.

The most urgent changes included here are:

- Chapter 19.6, on macros (including the macro changes that just stabilized), [is cut off](https://github.com/rust-lang/book/issues/1668) because of an ill-placed newline in a comment that [pulldown-cmark interprets incorrectly](https://github.com/raphlinus/pulldown-cmark/issues/124).
- [The `Cargo.toml` shown in the Guessing Game example in Chapter 2 (and one in Chapter 14) doesn't have `edition="2018"`](https://github.com/rust-lang/book/pull/1671), which can be confusing depending on whether the readers have it in theirs or not, think they should remove it if they have it, and the rest of the chapter assumes it's there and the code doesn't compile if you don't have it.
- The redirects implemented as part of only shipping the 2018 edition of the book sometimes lead to [having to click through 2 redirect pages](https://github.com/rust-lang/book/pull/1667) when it could be just one.

There are other small corrections included that were made since the last time the book was updated, but those aren't urgent.

cc @steveklabnik
2018-12-08 22:00:09 +00:00
..
book@74d81d8005 Update the book to fix some edition-related bugs 2018-12-07 17:43:00 -05:00
edition-guide@419edb885e build the edition guide 2018-12-04 17:06:16 -05:00
man Remove references to AUTHORS.txt file 2018-07-30 07:47:12 +02:00
nomicon@b7eb4a0872 update nomicon 2018-11-30 09:29:36 -05:00
reference@60077efda3 update books 2018-11-20 21:22:31 -05:00
rust-by-example@2ce92beabb update books 2018-11-20 21:22:31 -05:00
rustc rustc-guide has moved 2018-11-26 15:03:13 -06:00
rustc-guide@344c4e437b Fix failing tidy (line endings on Windows) 2018-12-02 00:19:06 +03:00
rustdoc don't inline pub use some_crate unless directly asked to 2018-11-09 09:07:57 -06:00
unstable-book Add missing comma in Generators 2018-12-08 04:13:18 +00:00
complement-design-faq.md
complement-lang-faq.md
complement-project-faq.md
favicon.inc
footer.inc
full-toc.inc
grammar.md Rollup merge of #50791 - bstrie:null, r=QuietMisdreavus 2018-05-17 13:51:25 -06:00
guide-crates.md
guide-error-handling.md
guide-ffi.md
guide-macros.md
guide-ownership.md
guide-plugins.md Add top level sections to the Unstable Book. 2017-04-18 21:26:09 -04:00
guide-pointers.md
guide-strings.md
guide-tasks.md
guide-testing.md
guide-unsafe.md
guide.md
index.md Reduce the amount of bold text at doc.rust-lang.org 2018-11-19 15:50:24 -06:00
intro.md
not_found.md dro -> duckduckgo 2018-10-05 08:52:44 -07:00
reference.md Redirect to the new reference 2017-02-21 14:03:13 -05:00
rust.css Fix error index display 2018-01-09 22:26:26 +01:00
rust.md Avoid linking to a moved page in rust.html 2017-03-29 15:38:47 +02:00
rustc-ux-guidelines.md Rename trans to codegen everywhere. 2018-05-17 15:08:30 +03:00
rustdoc.md
tutorial.md Update tutorial.md 2018-05-17 12:25:24 -07:00
version_info.html.template