Skip to content

Commit

Permalink
Auto merge of #138313 - rustbot:docs-update, r=<try>
Browse files Browse the repository at this point in the history
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-distcheck
  • Loading branch information
bors committed Mar 11, 2025
2 parents 374ce1f + 5d4ff50 commit b95951b
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 699 files
2 changes: 1 addition & 1 deletion src/doc/edition-guide
2 changes: 1 addition & 1 deletion src/doc/nomicon
2 changes: 1 addition & 1 deletion src/doc/reference
Submodule reference updated 56 files
+4 −1 docs/authoring.md
+24 −8 mdbook-spec/src/lib.rs
+15 −12 mdbook-spec/src/rules.rs
+2 −0 src/SUMMARY.md
+3 −3 src/attributes.md
+15 −22 src/attributes/codegen.md
+2 −1 src/attributes/debugger.md
+15 −16 src/attributes/diagnostics.md
+6 −3 src/attributes/limits.md
+4 −4 src/attributes/testing.md
+12 −8 src/behavior-considered-undefined.md
+4 −6 src/comments.md
+11 −14 src/conditional-compilation.md
+15 −10 src/crates-and-source-files.md
+21 −11 src/destructors.md
+3 −3 src/dynamically-sized-types.md
+8 −5 src/expressions.md
+2 −1 src/expressions/array-expr.md
+6 −4 src/expressions/block-expr.md
+2 −3 src/expressions/call-expr.md
+2 −1 src/expressions/field-expr.md
+26 −21 src/expressions/literal-expr.md
+2 −2 src/expressions/loop-expr.md
+4 −4 src/expressions/match-expr.md
+2 −2 src/expressions/method-call-expr.md
+6 −3 src/expressions/operator-expr.md
+4 −2 src/expressions/tuple-expr.md
+2 −1 src/identifiers.md
+7 −5 src/inline-assembly.md
+2 −1 src/input-format.md
+9 −5 src/introduction.md
+2 −1 src/items/associated-items.md
+23 −9 src/items/external-blocks.md
+33 −10 src/items/functions.md
+2 −2 src/items/generics.md
+2 −4 src/items/modules.md
+2 −1 src/items/traits.md
+4 −4 src/items/use-declarations.md
+35 −2 src/linkage.md
+2 −1 src/names/name-resolution.md
+6 −13 src/names/preludes.md
+150 −0 src/panic.md
+2 −2 src/procedural-macros.md
+14 −62 src/runtime.md
+4 −3 src/tokens.md
+2 −3 src/type-coercions.md
+22 −32 src/type-layout.md
+2 −2 src/types/array.md
+6 −6 src/types/boolean.md
+3 −7 src/types/closure.md
+2 −0 src/types/function-pointer.md
+6 −7 src/types/impl-trait.md
+2 −4 src/types/numeric.md
+0 −3 src/types/trait-object.md
+2 −4 src/visibility-and-privacy.md
+136 −52 theme/reference.css
2 changes: 1 addition & 1 deletion src/doc/rust-by-example

0 comments on commit b95951b

Please sign in to comment.