Skip to content

Commit

Permalink
Rollup merge of #121639 - rustbot:docs-update, r=ehuss
Browse files Browse the repository at this point in the history
Update books

## rust-lang/book

1 commits in 71352deb20727b4dda9ebfe8182709d5bf17dfea..19c40bfd2d57641d962f3119a1c343355f1b3c5e
2024-02-19 20:39:35 UTC to 2024-02-19 20:39:35 UTC

- Rust upgrades (rust-lang/book#3844)

## rust-lang/edition-guide

3 commits in 76bd48a273a0e0413a3bf22c699112d41497b99e..e1eead1181a691e56299294d5f1d62fe7a26d317
2024-02-24 21:15:28 UTC to 2024-02-17 21:44:36 UTC

- Rename static_mut_refs (rust-lang/edition-guide#293)
- Add 2024 prelude (rust-lang/edition-guide#292)
- Add some more initial stub docs for 2024. (rust-lang/edition-guide#291)

## rust-lang/reference

5 commits in 8227666de13f6e7bb32dea9dc42e841adb5ce4b7..3417f866932cb1c09c6be0f31d2a02ee01b4b95d
2024-02-25 19:37:14 UTC to 2024-02-15 13:28:59 UTC

- Document `target_abi` (rust-lang/reference#1446)
- Add `rust-toolchain.toml` and revise README (rust-lang/reference#1474)
- Clarify semantics of the various pointer to pointer casts (rust-lang/reference#1451)
- Update aarch64 target feature docs to match LLVM (rust-lang/reference#1470)
- Fix grammar for TypePathFn (rust-lang/reference#1281)

## rust-lang/rust-by-example

4 commits in e188d5d466f7f3ff9f1d518393235f4fe951be46..57f1e708f5d5850562bc385aaf610e6af14d6ec8
2024-02-24 18:31:19 UTC to 2024-02-14 13:06:53 UTC

- bug: fix typo (rust-lang/rust-by-example#1822)
- Fix typo in attribute.md (rust-lang/rust-by-example#1818)
- Add Japanese translation (rust-lang/rust-by-example#1794)
- Remove unused .travis.yml file (rust-lang/rust-by-example#1816)

## rust-lang/rustc-dev-guide

9 commits in 1f30cc7cca9a3433bc1872abdc98960b36c21ca0..7b0ef5b0bea5e3ce3b9764aa5754a60e2cc05c52
2024-02-22 19:15:52 UTC to 2024-02-13 12:13:06 UTC

- Update compiletest directives to be in `ui_test` style `//`@`` (rust-lang/rustc-dev-guide#1895)
- Add notes on tweak rust-analyzer.check.overrideCommand (rust-lang/rustc-dev-guide#1890)
- Fix more links (rust-lang/rustc-dev-guide#1884)
- Remove references to -Z ast-json and -Z ast-json-noexpand (rust-lang/rustc-dev-guide#1893)
- Specify ui test suite directives and add note on ignore-tidy directives (rust-lang/rustc-dev-guide#1892)
- Update docs about ui tests now using `//`@`` headers (rust-lang/rustc-dev-guide#1885)
- Make git rebase commands more bulletproof (rust-lang/rustc-dev-guide#1889)
- updating-llvm.md: command does not work (rust-lang/rustc-dev-guide#1887)
- fix update llvm build command (rust-lang/rustc-dev-guide#1886)
  • Loading branch information
matthiaskrgr authored Feb 26, 2024
2 parents d95c321 + 67bd410 commit e47d814
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 95 files
+2 −2 .github/workflows/main.yml
+1 −0 ci/dictionary.txt
+8 −8 listings/ch02-guessing-game-tutorial/listing-02-02/Cargo.lock
+5 −5 listings/ch02-guessing-game-tutorial/listing-02-04/output.txt
+4 −0 listings/ch02-guessing-game-tutorial/no-listing-02-without-expect/output.txt
+1 −1 listings/ch03-common-programming-concepts/no-listing-01-variables-are-immutable/output.txt
+7 −1 listings/ch03-common-programming-concepts/no-listing-05-mut-cant-change-types/output.txt
+2 −17 listings/ch03-common-programming-concepts/no-listing-19-statements-vs-expressions/output.txt
+1 −1 listings/ch03-common-programming-concepts/no-listing-23-statements-dont-return-values/output.txt
+1 −1 listings/ch03-common-programming-concepts/no-listing-28-if-condition-must-be-bool/output.txt
+1 −1 listings/ch03-common-programming-concepts/no-listing-31-arms-must-return-same-type/output.txt
+7 −6 listings/ch03-common-programming-concepts/output-only-01-no-type-annotations/output.txt
+7 −4 listings/ch04-understanding-ownership/listing-04-06/output.txt
+1 −1 listings/ch04-understanding-ownership/no-listing-04-cant-use-after-move/output.txt
+1 −1 listings/ch04-understanding-ownership/no-listing-10-multiple-mut-not-allowed/output.txt
+1 −1 listings/ch04-understanding-ownership/no-listing-12-immutable-and-mutable-not-allowed/output.txt
+7 −2 listings/ch04-understanding-ownership/no-listing-14-dangling-reference/output.txt
+1 −1 listings/ch04-understanding-ownership/no-listing-19-slice-error/output.txt
+1 −1 listings/ch05-using-structs-to-structure-related-data/listing-05-11/output.txt
+1 −1 listings/ch05-using-structs-to-structure-related-data/no-listing-02-reference-in-struct/output.txt
+2 −2 listings/ch05-using-structs-to-structure-related-data/no-listing-05-dbg-macro/output.txt
+3 −2 listings/ch05-using-structs-to-structure-related-data/output-only-01-debug/output.txt
+3 −3 listings/ch06-enums-and-pattern-matching/no-listing-07-cant-use-option-directly/output.txt
+4 −4 listings/ch06-enums-and-pattern-matching/no-listing-10-non-exhaustive-match/output.txt
+7 −3 listings/ch07-managing-growing-projects/listing-07-03/output.txt
+1 −1 listings/ch07-managing-growing-projects/listing-07-05/output.txt
+12 −7 listings/ch07-managing-growing-projects/listing-07-12/output.txt
+2 −2 listings/ch08-common-collections/listing-08-06/output.txt
+6 −6 listings/ch08-common-collections/listing-08-19/output.txt
+2 −1 listings/ch08-common-collections/output-only-01-not-char-boundary/output.txt
+2 −1 listings/ch09-error-handling/listing-09-01/output.txt
+2 −1 listings/ch09-error-handling/listing-09-04/output.txt
+1 −1 listings/ch09-error-handling/listing-09-10/output.txt
+2 −1 listings/ch09-error-handling/no-listing-01-panic/output.txt
+1 −1 listings/ch10-generic-types-traits-and-lifetimes/listing-10-05/output.txt
+1 −1 listings/ch10-generic-types-traits-and-lifetimes/listing-10-07/output.txt
+3 −1 listings/ch10-generic-types-traits-and-lifetimes/listing-10-16/output.txt
+1 −1 listings/ch10-generic-types-traits-and-lifetimes/listing-10-20/output.txt
+4 −2 listings/ch10-generic-types-traits-and-lifetimes/listing-10-23/output.txt
+6 −3 listings/ch10-generic-types-traits-and-lifetimes/no-listing-09-unrelated-lifetime/output.txt
+7 −1 listings/ch11-writing-automated-tests/listing-11-01/src/lib.rs
+2 −1 listings/ch11-writing-automated-tests/listing-11-03/output.txt
+4 −3 listings/ch11-writing-automated-tests/listing-11-10/output.txt
+2 −1 listings/ch11-writing-automated-tests/no-listing-03-introducing-a-bug/output.txt
+4 −3 listings/ch11-writing-automated-tests/no-listing-04-bug-in-add-two/output.txt
+2 −1 listings/ch11-writing-automated-tests/no-listing-06-greeter-with-bug/output.txt
+2 −1 listings/ch11-writing-automated-tests/no-listing-07-custom-failure-message/output.txt
+2 −1 listings/ch11-writing-automated-tests/no-listing-09-guess-with-panic-msg-bug/output.txt
+4 −3 listings/ch11-writing-automated-tests/output-only-01-show-output/output.txt
+1 −1 listings/ch12-an-io-project/listing-12-01/output.txt
+2 −1 listings/ch12-an-io-project/listing-12-07/output.txt
+2 −1 listings/ch12-an-io-project/listing-12-08/output.txt
+4 −0 listings/ch12-an-io-project/listing-12-12/output.txt
+4 −3 listings/ch12-an-io-project/listing-12-16/output.txt
+1 −1 listings/ch12-an-io-project/output-only-01-with-args/output.txt
+1 −1 listings/ch12-an-io-project/output-only-02-missing-lifetimes/output.txt
+9 −2 listings/ch13-functional-features/listing-13-03/output.txt
+1 −1 listings/ch13-functional-features/listing-13-08/output.txt
+4 −0 listings/ch13-functional-features/listing-13-14/output.txt
+7 −1 listings/ch14-more-about-cargo/output-only-02-add-one/add/add_one/src/lib.rs
+1 −1 listings/ch15-smart-pointers/listing-15-03/output.txt
+1 −1 listings/ch15-smart-pointers/listing-15-09/output.txt
+7 −5 listings/ch15-smart-pointers/listing-15-15/output.txt
+1 −1 listings/ch15-smart-pointers/listing-15-17/output.txt
+7 −6 listings/ch15-smart-pointers/listing-15-21/output.txt
+2 −1 listings/ch15-smart-pointers/listing-15-23/output.txt
+6 −3 listings/ch15-smart-pointers/no-listing-01-cant-borrow-immutable-as-mutable/output.txt
+6 −6 listings/ch15-smart-pointers/output-only-01-comparing-to-reference/output.txt
+1 −1 listings/ch16-fearless-concurrency/listing-16-03/output.txt
+5 −1 listings/ch16-fearless-concurrency/listing-16-09/output.txt
+7 −6 listings/ch16-fearless-concurrency/listing-16-13/output.txt
+4 −6 listings/ch16-fearless-concurrency/listing-16-14/output.txt
+1 −1 listings/ch16-fearless-concurrency/output-only-01-move-drop/output.txt
+2 −2 listings/ch17-oop/listing-17-10/output.txt
+1 −1 listings/ch18-patterns-and-matching/listing-18-05/output.txt
+3 −12 listings/ch18-patterns-and-matching/listing-18-08/output.txt
+1 −1 listings/ch18-patterns-and-matching/listing-18-25/output.txt
+1 −1 listings/ch19-advanced-features/listing-19-05/output.txt
+1 −1 listings/ch19-advanced-features/listing-19-20/output.txt
+3 −3 listings/ch19-advanced-features/no-listing-02-impl-outlineprint-for-point/output.txt
+8 −4 listings/ch19-advanced-features/no-listing-18-returns-closure/output.txt
+1 −1 listings/ch19-advanced-features/output-only-01-missing-unsafe/output.txt
+1 −1 listings/ch20-web-server/listing-20-12/output.txt
+9 −1 listings/ch20-web-server/listing-20-17/output.txt
+3 −3 listings/ch20-web-server/listing-20-22/output.txt
+1 −1 listings/ch20-web-server/no-listing-01-define-threadpool-struct/output.txt
+2 −2 listings/ch20-web-server/no-listing-02-impl-threadpool-new/output.txt
+3 −3 listings/ch20-web-server/no-listing-04-update-worker-definition/output.txt
+1 −1 rust-toolchain
+2 −1 src/ch03-02-data-types.md
+1 −1 src/ch05-01-defining-structs.md
+10 −9 src/ch09-01-unrecoverable-errors-with-panic.md
+4 −6 src/ch09-02-recoverable-errors-with-result.md
+1 −1 src/ch15-01-box.md
+1 −1 src/title-page.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 e47d814

Please sign in to comment.