Skip to content

Commit

Permalink
Rollup merge of rust-lang#89378 - ehuss:update-books, r=ehuss
Browse files Browse the repository at this point in the history
Update books

## nomicon

1 commits in fe6227eb3c8533200c52dffa42ef1b6f2f02c40e..2747c4bb2cbc0639b733793ddb0bf4e9daa2634e
2021-08-31 05:42:38 +0900 to 2021-09-19 17:33:32 +0900
- Clarify a bit of wording (rust-lang/nomicon#310)

## reference

2 commits in 0e5ed7a4bec065f0cc18c35d1c904639e095314d..13747275bd14c2d2b453100498532f9ae5504769
2021-08-29 17:33:21 +0900 to 2021-09-24 17:44:04 +0900
-  (rust-lang/reference#1087)
- Document RangeFrom patterns (rust-lang/reference#900)

## book

4 commits in fcb5e0ea68112d85a1d29a7a7335978ef2a02181..eb1282ec444db94055fa9531b6f3f803e86bb382
2021-08-31 21:26:19 -0400 to 2021-09-16 21:17:09 -0400
- Rust 1.55 (rust-lang/book#2890)
- Chapter 3.3: Remove unused variable (rust-lang/book#2877)
- Appendix (operators and symbols): remove extra space (rust-lang/book#2876)
- Chapter 17.1: add missing comma (rust-lang/book#2867)

## rust-by-example

2 commits in 9d4132b56c4999cd3ce1aeca5f1b2f2cb0d11c24..28aca4a36962c709bce301c03114b5589381dfb8
2021-09-14 06:56:00 -0300 to 2021-09-25 08:19:51 -0300
- fix formatting (rust-lang/rust-by-example#1463)
- involving === verb, involved === adjective (rust-lang/rust-by-example#1461)

## rustc-dev-guide

7 commits in 9198465..d1f03cb
2021-09-12 11:50:44 -0500 to 2021-09-24 12:00:29 +0900
- Fix a typo on closure.md (rust-lang/rustc-dev-guide#1218)
- const generics update
- s/--blessed/--bless/
- Make indentation consistent in example vscode config file
- Suggests `--edition=2018` argument when using stage0/bin/rustfmt directly
- `ty::Unevaluated`: dealing with unused substs (rust-lang/rustc-dev-guide#1190)
- Parallel codegen (rust-lang/rustc-dev-guide#1206)
  • Loading branch information
ehuss authored Sep 30, 2021
2 parents 4bb4789 + 762f81d commit 20c9530
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/doc/book
Submodule book updated 76 files
+4 −4 .github/workflows/main.yml
+1 −5 listings/ch02-guessing-game-tutorial/listing-02-04/output.txt
+1 −2 listings/ch02-guessing-game-tutorial/no-listing-02-without-expect/output.txt
+1 −5 listings/ch03-common-programming-concepts/no-listing-01-variables-are-immutable/output.txt
+1 −5 listings/ch03-common-programming-concepts/no-listing-05-mut-cant-change-types/output.txt
+2 −5 listings/ch03-common-programming-concepts/no-listing-19-statements-vs-expressions/output.txt
+0 −2 listings/ch03-common-programming-concepts/no-listing-20-blocks-are-expressions/src/main.rs
+1 −5 listings/ch03-common-programming-concepts/no-listing-23-statements-dont-return-values/output.txt
+1 −5 listings/ch03-common-programming-concepts/no-listing-28-if-condition-must-be-bool/output.txt
+1 −5 listings/ch03-common-programming-concepts/no-listing-31-arms-must-return-same-type/output.txt
+1 −5 listings/ch03-common-programming-concepts/output-only-01-no-type-annotations/output.txt
+1 −5 listings/ch04-understanding-ownership/listing-04-06/output.txt
+1 −5 listings/ch04-understanding-ownership/no-listing-04-cant-use-after-move/output.txt
+1 −5 listings/ch04-understanding-ownership/no-listing-10-multiple-mut-not-allowed/output.txt
+1 −5 listings/ch04-understanding-ownership/no-listing-12-immutable-and-mutable-not-allowed/output.txt
+1 −5 listings/ch04-understanding-ownership/no-listing-14-dangling-reference/output.txt
+1 −5 listings/ch04-understanding-ownership/no-listing-19-slice-error/output.txt
+1 −6 listings/ch05-using-structs-to-structure-related-data/listing-05-11/output.txt
+10 −12 listings/ch05-using-structs-to-structure-related-data/no-listing-02-reference-in-struct/output.txt
+2 −7 listings/ch05-using-structs-to-structure-related-data/output-only-01-debug/output.txt
+1 −5 listings/ch06-enums-and-pattern-matching/no-listing-07-cant-use-option-directly/output.txt
+1 −5 listings/ch06-enums-and-pattern-matching/no-listing-10-non-exhaustive-match/output.txt
+1 −5 listings/ch07-managing-growing-projects/listing-07-03/output.txt
+1 −5 listings/ch07-managing-growing-projects/listing-07-05/output.txt
+1 −5 listings/ch08-common-collections/listing-08-07/output.txt
+1 −5 listings/ch08-common-collections/listing-08-19/output.txt
+1 −5 listings/ch09-error-handling/no-listing-02-ask-compiler-for-type/output.txt
+11 −15 listings/ch09-error-handling/no-listing-06-question-mark-in-main/output.txt
+1 −5 listings/ch10-generic-types-traits-and-lifetimes/listing-10-05/output.txt
+1 −5 listings/ch10-generic-types-traits-and-lifetimes/listing-10-07/output.txt
+1 −5 listings/ch10-generic-types-traits-and-lifetimes/listing-10-17/output.txt
+1 −5 listings/ch10-generic-types-traits-and-lifetimes/listing-10-21/output.txt
+1 −5 listings/ch10-generic-types-traits-and-lifetimes/listing-10-24/output.txt
+1 −5 listings/ch10-generic-types-traits-and-lifetimes/no-listing-07-fixing-listing-10-05/output.txt
+1 −5 listings/ch10-generic-types-traits-and-lifetimes/no-listing-09-unrelated-lifetime/output.txt
+1 −1 listings/ch11-writing-automated-tests/no-listing-11-ignore-a-test/output.txt
+1 −2 listings/ch12-an-io-project/listing-12-12/output.txt
+1 −5 listings/ch12-an-io-project/output-only-02-missing-lifetimes/output.txt
+1 −5 listings/ch13-functional-features/listing-13-08/output.txt
+1 −2 listings/ch13-functional-features/listing-13-17/output.txt
+1 −5 listings/ch13-functional-features/no-listing-02-functions-cant-capture/output.txt
+1 −5 listings/ch13-functional-features/no-listing-03-move-closures/output.txt
+1 −5 listings/ch15-smart-pointers/listing-15-03/output.txt
+1 −5 listings/ch15-smart-pointers/listing-15-09/output.txt
+1 −5 listings/ch15-smart-pointers/listing-15-15/output.txt
+1 −5 listings/ch15-smart-pointers/listing-15-17/output.txt
+1 −5 listings/ch15-smart-pointers/listing-15-21/output.txt
+1 −5 listings/ch15-smart-pointers/no-listing-01-cant-borrow-immutable-as-mutable/output.txt
+1 −5 listings/ch15-smart-pointers/output-only-01-comparing-to-reference/output.txt
+1 −5 listings/ch16-fearless-concurrency/listing-16-03/output.txt
+1 −5 listings/ch16-fearless-concurrency/listing-16-09/output.txt
+1 −5 listings/ch16-fearless-concurrency/listing-16-13/output.txt
+1 −5 listings/ch16-fearless-concurrency/listing-16-14/output.txt
+1 −5 listings/ch16-fearless-concurrency/output-only-01-move-drop/output.txt
+1 −5 listings/ch17-oop/listing-17-10/output.txt
+3 −7 listings/ch17-oop/no-listing-01-trait-object-of-clone/output.txt
+1 −5 listings/ch18-patterns-and-matching/listing-18-05/output.txt
+1 −5 listings/ch18-patterns-and-matching/listing-18-08/output.txt
+1 −2 listings/ch18-patterns-and-matching/listing-18-10/output.txt
+1 −5 listings/ch18-patterns-and-matching/listing-18-25/output.txt
+1 −5 listings/ch19-advanced-features/listing-19-05/output.txt
+6 −8 listings/ch19-advanced-features/listing-19-20/output.txt
+1 −5 listings/ch19-advanced-features/no-listing-02-impl-outlineprint-for-point/output.txt
+1 −5 listings/ch19-advanced-features/no-listing-18-returns-closure/output.txt
+1 −5 listings/ch19-advanced-features/output-only-01-missing-unsafe/output.txt
+1 −5 listings/ch20-web-server/listing-20-12/output.txt
+1 −5 listings/ch20-web-server/listing-20-17/output.txt
+1 −5 listings/ch20-web-server/listing-20-22/output.txt
+1 −5 listings/ch20-web-server/no-listing-01-define-threadpool-struct/output.txt
+1 −5 listings/ch20-web-server/no-listing-02-impl-threadpool-new/output.txt
+1 −5 listings/ch20-web-server/no-listing-04-update-worker-definition/output.txt
+1 −1 rust-toolchain
+1 −1 src/appendix-02-operators.md
+1 −1 src/ch17-01-what-is-oo.md
+1 −1 src/title-page.md
+3 −0 tools/update-rustc.sh
2 changes: 1 addition & 1 deletion src/doc/nomicon
Submodule nomicon updated 1 files
+2 −2 src/lifetimes.md
2 changes: 1 addition & 1 deletion src/doc/reference
2 changes: 1 addition & 1 deletion src/doc/rust-by-example

0 comments on commit 20c9530

Please sign in to comment.