Skip to content

Commit

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

## rust-lang/book

12 commits in e16dd73690a6cc3ecdc5f5d94bbc3ce158a42e16..614c19cb4025636eb2ba68ebb3d44e3bd3a5e6e4
2024-12-02 16:22:15 UTC to 2024-11-26 21:15:51 UTC

- Fix more inverted uses of “shadowed” (rust-lang/book#4122)
- Fix a couple inverted uses of “shadowed” (rust-lang/book#4121)
- Fix confusion between variable `hello` and string `"hello"` (rust-lang/book#4118)
- Ch. 17: fix some wording issues (rust-lang/book#4117)
- Rephrase for clarity (rust-lang/book#3809)
- Link to tests section of rustc book for `cargo test -- --help` docs (rust-lang/book#4116)
- Drop a pedantry-triggering sentence about IEEE-754 (rust-lang/book#4114)
- Very small clarification on if let (rust-lang/book#4113)
- Ch17-05: Typos (rust-lang/book#4099)
- Ch20-01: Fix typos (rust-lang/book#4105)
- Add a short paragraph on editors and IDEs in installation (rust-lang/book#4112)
- Rust 2024: update Ch. 20 for new `unsafe` rules (rust-lang/book#4111)

## rust-lang/reference

8 commits in 5c86c739ec71b8bc839310ff47fa94e94635bba9..ede56d1bbe132bac476b5029cd6d7508ca9572e9
2024-11-25 17:23:35 +0000 to 2024-12-03 22:26:55 +0000
- Claim to follow Unicode 16 for lexing identifiers. (rust-lang/reference#1688)
- Clarify rules for on_unimplemented warnings (rust-lang/reference#1680)
- Enable triagebot merge-conflict notifications (rust-lang/reference#1682)
- Update default edition to 2024 for code examples (rust-lang/reference#1684)
- Fix weak keywords (rust-lang/reference#1685)
- `const` expression can borrow static items (rust-lang/reference#1610)
- Update function-pointer.md for stabilization of `extended_varargs_abi_support` (rust-lang/reference#1687)
- fix inconsistent spacing in example (rust-lang/reference#1686)

## edition-guide

1 commits in f48b0e842a3911c63240e955d042089e9e0894c7..128669297c8a7fdf771042eaec18b8adfaeaf0cd
2024-11-25 16:20:27 +0000 to 2024-12-03 22:02:43 +0000
- Fix `if_let_rescope` applicability (rust-lang/edition-guide#339)

## rust-lang/rustc-dev-guide

6 commits in 787b416..b21d99b
2024-12-02 04:45:30 UTC to 2024-11-27 10:31:58 UTC

- Spell out `git submodule deinit -f --all` (rust-lang/rustc-dev-guide#2153)
- Explain how to deal with exploded git submodules (rust-lang/rustc-dev-guide#2152)
- Update `//@ proc-macro` aux build directive docs (rust-lang/rustc-dev-guide#2149)
- Remove `pretty-expanded` as it no longer exists (rust-lang/rustc-dev-guide#2147)
- Fix trivial typo (rust-lang/rustc-dev-guide#2148)
- Remove -Zfuel. (rust-lang/rustc-dev-guide#2032)
  • Loading branch information
fmease authored Dec 5, 2024
2 parents 626db06 + 1c14127 commit d692b1f
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 71 files
+3 −3 listings/ch04-understanding-ownership/listing-04-03/src/main.rs
+1 −1 listings/ch20-advanced-features/listing-20-08/src/main.rs
+4 −2 listings/ch20-advanced-features/listing-20-09/src/main.rs
+2 −13 listings/ch20-advanced-features/listing-20-10/src/main.rs
+0 −0 listings/ch20-advanced-features/listing-20-11/output.txt
+13 −6 listings/ch20-advanced-features/listing-20-11/src/main.rs
+1 −1 listings/ch20-advanced-features/listing-20-12/Cargo.lock
+1 −1 listings/ch20-advanced-features/listing-20-12/Cargo.toml
+0 −5 listings/ch20-advanced-features/listing-20-12/src/lib.rs
+9 −0 listings/ch20-advanced-features/listing-20-12/src/main.rs
+4 −2 listings/ch20-advanced-features/listing-20-13/src/lib.rs
+3 −0 listings/ch20-advanced-features/listing-20-14/src/lib.rs
+0 −0 listings/ch20-advanced-features/listing-20-15/src/main.rs
+0 −0 listings/ch20-advanced-features/listing-20-16/src/lib.rs
+0 −31 listings/ch20-advanced-features/listing-20-16/src/main.rs
+3 −6 listings/ch20-advanced-features/listing-20-17/src/main.rs
+0 −2 listings/ch20-advanced-features/listing-20-18/src/main.rs
+4 −2 listings/ch20-advanced-features/listing-20-19/output.txt
+25 −10 listings/ch20-advanced-features/listing-20-19/src/main.rs
+3 −16 listings/ch20-advanced-features/listing-20-20/output.txt
+1 −3 listings/ch20-advanced-features/listing-20-20/src/main.rs
+16 −3 listings/ch20-advanced-features/listing-20-21/output.txt
+1 −1 listings/ch20-advanced-features/listing-20-21/src/main.rs
+2 −4 listings/ch20-advanced-features/listing-20-22/output.txt
+19 −13 listings/ch20-advanced-features/listing-20-22/src/main.rs
+12 −9 listings/ch20-advanced-features/listing-20-23/src/main.rs
+1 −1 listings/ch20-advanced-features/listing-20-24/Cargo.lock
+1 −1 listings/ch20-advanced-features/listing-20-24/Cargo.toml
+10 −12 listings/ch20-advanced-features/listing-20-24/src/main.rs
+3 −5 listings/ch20-advanced-features/listing-20-25/src/main.rs
+1 −1 listings/ch20-advanced-features/listing-20-26/Cargo.lock
+1 −1 listings/ch20-advanced-features/listing-20-26/Cargo.toml
+18 −0 listings/ch20-advanced-features/listing-20-26/src/main.rs
+1 −1 listings/ch20-advanced-features/listing-20-28/Cargo.lock
+1 −1 listings/ch20-advanced-features/listing-20-28/Cargo.toml
+0 −0 listings/ch20-advanced-features/listing-20-28/src/main.rs
+6 −0 listings/ch20-advanced-features/listing-20-29/Cargo.lock
+6 −0 listings/ch20-advanced-features/listing-20-29/Cargo.toml
+0 −0 listings/ch20-advanced-features/listing-20-29/src/lib.rs
+0 −0 listings/ch20-advanced-features/listing-20-31/Cargo.lock
+0 −0 listings/ch20-advanced-features/listing-20-31/Cargo.toml
+0 −0 listings/ch20-advanced-features/listing-20-31/src/main.rs
+0 −0 listings/ch20-advanced-features/listing-20-32/hello_macro/Cargo.lock
+0 −0 listings/ch20-advanced-features/listing-20-32/hello_macro/Cargo.toml
+0 −0 listings/ch20-advanced-features/listing-20-32/hello_macro/hello_macro_derive/Cargo.lock
+0 −0 listings/ch20-advanced-features/listing-20-32/hello_macro/hello_macro_derive/Cargo.toml
+0 −0 listings/ch20-advanced-features/listing-20-32/hello_macro/hello_macro_derive/src/lib.rs
+0 −0 listings/ch20-advanced-features/listing-20-32/hello_macro/src/lib.rs
+0 −0 listings/ch20-advanced-features/listing-20-32/hello_macro/src/main.rs
+0 −0 listings/ch20-advanced-features/listing-20-34/hello_macro/Cargo.lock
+0 −0 listings/ch20-advanced-features/listing-20-34/hello_macro/Cargo.toml
+0 −0 listings/ch20-advanced-features/listing-20-34/hello_macro/hello_macro_derive/Cargo.lock
+0 −0 listings/ch20-advanced-features/listing-20-34/hello_macro/hello_macro_derive/Cargo.toml
+0 −0 listings/ch20-advanced-features/listing-20-34/hello_macro/hello_macro_derive/src/lib.rs
+0 −0 listings/ch20-advanced-features/listing-20-34/hello_macro/src/lib.rs
+0 −0 listings/ch20-advanced-features/listing-20-34/hello_macro/src/main.rs
+9 −0 src/ch01-01-installation.md
+1 −2 src/ch03-02-data-types.md
+2 −2 src/ch06-03-if-let.md
+2 −2 src/ch08-02-strings.md
+6 −1 src/ch11-02-running-tests.md
+8 −8 src/ch12-05-working-with-environment-variables.md
+6 −7 src/ch17-04-streams.md
+7 −7 src/ch17-05-traits-for-async.md
+7 −7 src/ch19-01-all-the-places-for-patterns.md
+7 −7 src/ch19-03-pattern-syntax.md
+49 −27 src/ch20-01-unsafe-rust.md
+44 −44 src/ch20-03-advanced-traits.md
+12 −12 src/ch20-04-advanced-types.md
+3 −3 src/ch20-05-advanced-functions-and-closures.md
+24 −24 src/ch20-06-macros.md
2 changes: 1 addition & 1 deletion src/doc/edition-guide
2 changes: 1 addition & 1 deletion src/doc/rustc-dev-guide

0 comments on commit d692b1f

Please sign in to comment.