Skip to content

Commit

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

## rust-lang/book

5 commits in e7d217be2a75ef1753f0988d6ccaba4d7e376259..99cf75a5414fa8adbe3974bd0836661ca901708f
2024-09-23 16:18:39 UTC to 2024-09-11 18:38:03 UTC

- translations: remove broken link (rust-lang/book#4036)
- Update build instructions: include mdbook plugins (rust-lang/book#4032)
- Add `cargo init` usage suggestion to 1.3 (rust-lang/book#4025)
- Use immutable borrow of `TcpStream` when creating `BufReader` (rust-lang/book#4024)
- Upgrade to Rust 1.81 (rust-lang/book#4031)

## rust-lang/edition-guide

1 commits in b3ca7ade0f87d7e3fb538776defc5b2cc4188172..c7ebae25cb4801a31b6f05353f6d85bfa6feedd1
2024-09-22 08:47:02 UTC to 2024-09-22 08:47:02 UTC

- Update static_mut_refs now that it is a lint (rust-lang/edition-guide#322)

## rust-lang/reference

10 commits in 687faf9958c52116d003b41dfd29cc1cf44f5311..24fb2687cdbc54fa18ae4acf5d879cfceca77b2c
2024-09-22 09:07:12 UTC to 2024-09-10 19:24:17 UTC

- do not talk about the 'address of a constant' (rust-lang/reference#1624)
- Add spec identifier syntax to interior-mutability.md (rust-lang/reference#1585)
- Add spec identifier syntax to input-format.md (rust-lang/reference#1584)
- Document limitations on block doc comments (rust-lang/reference#1602)
- Places based on misaligned pointers: also mention 'static's as a possible base for place projections (rust-lang/reference#1606)
- type-layout: mention that call ABI compatibility is a separate concern (rust-lang/reference#1608)
- stabilize `const_extern_fn` (rust-lang/reference#1596)
- const_eval: update for const_mut_refs and const_refs_to_cell stabilization (rust-lang/reference#1590)
- fix: unclosed tag `sup` (rust-lang/reference#1612)
- Fix improper documentation on casting non_exhaustive enums (rust-lang/reference#1607)

## rust-lang/rustc-dev-guide

13 commits in 0ed9229..555f3de
2024-09-23 12:51:33 UTC to 2024-09-10 07:32:10 UTC

- chore: add missing `.` (rust-lang/rustc-dev-guide#2074)
- Add remark on required free disk space (rust-lang/rustc-dev-guide#2073)
- fix broken links (rust-lang/rustc-dev-guide#2063)
- Add advice about submitting potentially hard-to-review PRs (rust-lang/rustc-dev-guide#2036)
- Edit a sentence for clarity (rust-lang/rustc-dev-guide#2071)
- Emphasize how to run a single tool test (rust-lang/rustc-dev-guide#2070)
- Remove chalk is owned by WG-traits (rust-lang/rustc-dev-guide#2068)
- Fix conditions lowering text for enums with no fields (rust-lang/rustc-dev-guide#2066)
- update proof tree chapter (rust-lang/rustc-dev-guide#2054)
- Add docs for JS tests (rust-lang/rustc-dev-guide#2048)
- Reflect `x.py test`'s `--rustc-args` option being renamed to `--compiletest-rustc-args` (rust-lang/rustc-dev-guide#2062)
- we standardized on this more reliable command (rust-lang/rustc-dev-guide#2061)
- Fix Typo and Remove Outdated Line About C Variadics (rust-lang/rustc-dev-guide#2060)
  • Loading branch information
compiler-errors authored Sep 24, 2024
2 parents d7517ec + c3f57f3 commit 407d959
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/doc/book
Submodule book updated 49 files
+4 −4 .github/workflows/main.yml
+10 −0 README.md
+7 −1 listings/ch02-guessing-game-tutorial/listing-02-04/output.txt
+6 −4 listings/ch03-common-programming-concepts/no-listing-01-variables-are-immutable/output.txt
+4 −4 listings/ch06-enums-and-pattern-matching/no-listing-07-cant-use-option-directly/output.txt
+2 −2 listings/ch06-enums-and-pattern-matching/no-listing-10-non-exhaustive-match/output.txt
+8 −0 listings/ch09-error-handling/listing-09-10/output.txt
+1 −1 listings/ch13-functional-features/listing-13-04/output.txt
+1 −1 listings/ch13-functional-features/listing-13-05/output.txt
+1 −1 listings/ch15-smart-pointers/listing-15-21/output.txt
+1 −1 listings/ch16-fearless-concurrency/listing-16-14/output.txt
+2 −2 listings/ch19-advanced-features/no-listing-18-returns-closure/output.txt
+1 −1 listings/ch20-web-server/listing-20-02/src/main.rs
+1 −1 listings/ch20-web-server/listing-20-03/src/main.rs
+1 −1 listings/ch20-web-server/listing-20-05/src/main.rs
+1 −1 listings/ch20-web-server/listing-20-06/src/main.rs
+1 −1 listings/ch20-web-server/listing-20-07/src/main.rs
+1 −1 listings/ch20-web-server/listing-20-09/src/main.rs
+1 −1 listings/ch20-web-server/listing-20-10/src/main.rs
+1 −1 listings/ch20-web-server/listing-20-11/src/main.rs
+1 −1 listings/ch20-web-server/listing-20-12/src/main.rs
+1 −1 listings/ch20-web-server/listing-20-13/src/main.rs
+1 −1 listings/ch20-web-server/listing-20-14/src/main.rs
+1 −1 listings/ch20-web-server/listing-20-15/src/main.rs
+1 −1 listings/ch20-web-server/listing-20-16/src/main.rs
+1 −1 listings/ch20-web-server/listing-20-17/src/main.rs
+1 −1 listings/ch20-web-server/listing-20-18/src/main.rs
+1 −1 listings/ch20-web-server/listing-20-19/src/main.rs
+1 −1 listings/ch20-web-server/listing-20-20/src/main.rs
+1 −1 listings/ch20-web-server/listing-20-21/src/main.rs
+1 −1 listings/ch20-web-server/listing-20-22/output.txt
+1 −1 listings/ch20-web-server/listing-20-22/src/main.rs
+1 −1 listings/ch20-web-server/listing-20-23/src/main.rs
+1 −1 listings/ch20-web-server/listing-20-24/src/main.rs
+1 −1 listings/ch20-web-server/listing-20-25/src/main.rs
+1 −1 listings/ch20-web-server/no-listing-01-define-threadpool-struct/src/main.rs
+1 −1 listings/ch20-web-server/no-listing-02-impl-threadpool-new/src/main.rs
+1 −1 listings/ch20-web-server/no-listing-03-define-execute/src/main.rs
+1 −1 listings/ch20-web-server/no-listing-04-update-worker-definition/output.txt
+1 −1 listings/ch20-web-server/no-listing-04-update-worker-definition/src/main.rs
+1 −1 listings/ch20-web-server/no-listing-05-fix-worker-new/src/main.rs
+1 −1 listings/ch20-web-server/no-listing-06-fix-threadpool-drop/src/main.rs
+1 −1 listings/ch20-web-server/no-listing-07-final-code/src/main.rs
+56 −8 packages/tools/src/bin/release_listings.rs
+1 −1 rust-toolchain
+0 −1 src/appendix-06-translation.md
+2 −1 src/ch01-03-hello-cargo.md
+2 −2 src/ch20-01-single-threaded.md
+1 −1 src/title-page.md
2 changes: 1 addition & 1 deletion src/doc/edition-guide

0 comments on commit 407d959

Please sign in to comment.