Commit 53e4e6f
authored
Rollup merge of rust-lang#138313 - rustbot:docs-update, r=jieyouxu
Update books
## rust-lang/book
11 commits in 4a01a9182496f807aaa5f72d93a25ce18bcbe105..81a976a237f84b8392c4ce1bd5fd076eb757a2eb
2025-02-27 22:10:41 UTC to 2025-02-24 18:36:27 UTC
- Ch. 10: Make social media discussion generic. (rust-lang/book#4249)
- Another Ch. 17 -> 18 fix (rust-lang/book#4247)
- Ch. 05: further tweak to wording about `user1` availability (rust-lang/book#4246)
- Ch. 02: Fix rand version mistake (from testing) (rust-lang/book#4245)
- Ch. 19: Correct the discussion of `fn` type and closures (rust-lang/book#4244)
- Edition maintenance: scripting the updates for future work (rust-lang/book#4243)
- Ch. 17: fresh-eyes edits (rust-lang/book#4242)
- Ch. 17: drop lifetime not required in 2024 Edition (rust-lang/book#4212)
- Appendix B, Operators: Replace “member access” with “field access” and “method call”. (rust-lang/book#4240)
- Update to Rust 1.85 and 2024 Edition! (rust-lang/book#4241)
- Chapter 1: fix 'four things' now that spacing is not emphasized (rust-lang/book#4239)
## rust-lang/edition-guide
2 commits in daa4b763cd848f986813b5cf8069e1649f7147af..1e27e5e6d5133ae4612f5cc195c15fc8d51b1c9c
2025-03-04 22:02:00 UTC to 2025-02-26 12:47:41 UTC
- Mention both `rustfmt.toml` and `.rustfmt.toml` (rust-lang/edition-guide#372)
- Fix a typo (rust-lang/edition-guide#370)
## rust-lang/nomicon
1 commits in 8f5c7322b65d079aa5b242eb10d89a98e12471e1..b4448fa406a6dccde62d1e2f34f70fc51814cdcc
2025-03-01 04:48:05 UTC to 2025-03-01 04:48:05 UTC
- Update to 2024 edition (rust-lang/nomicon#481)
## rust-lang/reference
8 commits in 615b4cec60c269cfc105d511c93287620032d5b0..dda31c85f2ef2e5d2f0f2f643c9231690a30a626
2025-03-09 14:25:25 UTC to 2025-02-25 16:07:17 UTC
- Rework note blocks and change admonition rendering (rust-lang/reference#1754)
- Add more information on rules and tests (rust-lang/reference#1753)
- Mention `explicit_builtin_cfgs_in_flags` lint cfg chapter (rust-lang/reference#1747)
- fixup test links (rust-lang/reference#1741)
- Fix diagnostics typo: `do_no_recommend` -> `do_not_recommend` (rust-lang/reference#1749)
- panic runtime and C-unwind documentation (rust-lang/reference#1226)
- Closures: fix example of desugaring (rust-lang/reference#1743)
- Update boolean.md, Comment breaks paragraph format (rust-lang/reference#1744)
## rust-lang/rust-by-example
1 commits in 66543bbc5b7dbd4e679092c07ae06ba6c73fd912..6f69823c28ae8d929d6c815181c73d3e99ef16d3
2025-03-09 13:12:24 UTC to 2025-03-09 13:12:24 UTC
- Update mdbook to 0.4.46 (rust-lang/rust-by-example#1914)
try-job: x86_64-gnu-distcheckFile tree
6 files changed
+6
-5
lines changed- src
- bootstrap/src/core/build_steps
- doc
6 files changed
+6
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| 106 | + | |
106 | 107 | | |
107 | 108 | | |
108 | 109 | | |
| |||
- docs/authoring.md+4-1
- mdbook-spec/src/lib.rs+24-8
- mdbook-spec/src/rules.rs+15-12
- src/SUMMARY.md+2
- src/attributes.md+3-3
- src/attributes/codegen.md+15-22
- src/attributes/debugger.md+2-1
- src/attributes/diagnostics.md+15-16
- src/attributes/limits.md+6-3
- src/attributes/testing.md+4-4
- src/behavior-considered-undefined.md+12-8
- src/comments.md+4-6
- src/conditional-compilation.md+11-14
- src/crates-and-source-files.md+15-10
- src/destructors.md+21-11
- src/dynamically-sized-types.md+3-3
- src/expressions.md+8-5
- src/expressions/array-expr.md+2-1
- src/expressions/block-expr.md+6-4
- src/expressions/call-expr.md+2-3
- src/expressions/field-expr.md+2-1
- src/expressions/literal-expr.md+26-21
- src/expressions/loop-expr.md+2-2
- src/expressions/match-expr.md+4-4
- src/expressions/method-call-expr.md+2-2
- src/expressions/operator-expr.md+6-3
- src/expressions/tuple-expr.md+4-2
- src/identifiers.md+2-1
- src/inline-assembly.md+7-5
- src/input-format.md+2-1
- src/introduction.md+9-5
- src/items/associated-items.md+2-1
- src/items/external-blocks.md+23-9
- src/items/functions.md+33-10
- src/items/generics.md+2-2
- src/items/modules.md+2-4
- src/items/traits.md+2-1
- src/items/use-declarations.md+4-4
- src/linkage.md+35-2
- src/names/name-resolution.md+2-1
- src/names/preludes.md+6-13
- src/panic.md+150
- src/procedural-macros.md+2-2
- src/runtime.md+14-62
- src/tokens.md+4-3
- src/type-coercions.md+2-3
- src/type-layout.md+22-32
- src/types/array.md+2-2
- src/types/boolean.md+6-6
- src/types/closure.md+3-7
- src/types/function-pointer.md+2
- src/types/impl-trait.md+6-7
- src/types/numeric.md+2-4
- src/types/trait-object.md-3
- src/visibility-and-privacy.md+2-4
- theme/reference.css+136-52
0 commit comments