This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit af4777b
authored
Rollup merge of rust-lang#136143 - rustbot:docs-update, r=ehuss
Update books
## rust-lang/book
3 commits in 82a4a49789bc96db1a1b2a210b4c5ed7c9ef0c0d..fa312a343fbff01bc6cef393e326817f70719813
2025-01-22 17:14:29 UTC to 2025-01-22 15:09:26 UTC
- chore: reformat src with dprint (rust-lang/book#4211)
- Redirects: get rid of the weird gap in Ch. 20 sections! (rust-lang/book#4209)
- Document that `use` is also for `precise capturing` (rust-lang/book#4210)
## rust-lang/edition-guide
1 commits in d56e0f3a0656b7702ca466d4b191e16c28262b82..4ed5a1a4a2a7ecc2e529a5baaef04f7bc7917eda
2025-01-21 21:39:56 UTC to 2025-01-21 21:39:56 UTC
- Add alternatives for static-mut-refs (rust-lang/edition-guide#354)
## rust-lang/nomicon
3 commits in 625b200e5b33a5af35589db0bc454203a3d46d20..bc2298865544695c63454fc1f9f98a3dc22e9948
2025-01-23 19:01:24 UTC to 2025-01-20 14:37:52 UTC
- corrected grammatical error. (rust-lang/nomicon#477)
- Remove `#![start]` attribute (rust-lang/nomicon#478)
- Update guidance on uninitialized fields to use &raw mut instead of addr_of_mut! (rust-lang/nomicon#476)
## rust-lang/reference
10 commits in 293af991003772bdccf2d6b980182d84dd055942..93b921c7d3213d38d920f7f905a3bec093d2217d
2025-01-25 21:59:01 UTC to 2025-01-14 17:28:04 UTC
- distinct 'static' items never overlap (rust-lang/reference#1657)
- Change `'_static` to `'static` as an invalid lifetime parameter name (rust-lang/reference#1721)
- reword reference about inert attributes (rust-lang/reference#1719)
- Provide a better error message for broken links in mdbook-spec (rust-lang/reference#1716)
- Remove unstable vectorcall (rust-lang/reference#1717)
- Move the function pointer example (rust-lang/reference#1718)
- references and Box must be non-null (rust-lang/reference#1715)
- Fix filename for theme customization (rust-lang/reference#1711)
- Add Identifier Syntax to Several Chapters (rust-lang/reference#1597)
- move r[rules] to the left of the main body, using a grid (rust-lang/reference#1710)4 files changed
+4
-4
lines changed- 2018-edition/src/ch19-03-advanced-traits.md+1-1
- 2018-edition/src/ch19-04-advanced-types.md+1-1
- 2018-edition/src/ch19-05-advanced-functions-and-closures.md+1-1
- 2018-edition/src/ch19-06-macros.md+1-1
- book.toml+8-4
- first-edition/src/associated-types.md+1-1
- first-edition/src/macros.md+1-1
- first-edition/src/operators-and-overloading.md+1-1
- first-edition/src/procedural-macros.md+1-1
- first-edition/src/type-aliases.md+1-1
- first-edition/src/unsized-types.md+1-1
- redirects/associated-types.md+1-1
- redirects/macros.md+1-1
- redirects/match.md+1-1
- redirects/operators-and-overloading.md+1-1
- redirects/procedural-macros.md+2-2
- redirects/trait-objects.md+1-1
- redirects/traits.md+2-2
- redirects/type-aliases.md+1-1
- redirects/ufcs.md+1-1
- redirects/unsafe.md+1-1
- redirects/unsized-types.md+1-1
- second-edition/src/appendix-04-macros.md+1-1
- second-edition/src/ch19-03-advanced-traits.md+1-1
- second-edition/src/ch19-04-advanced-types.md+1-1
- second-edition/src/ch19-05-advanced-functions-and-closures.md+1-1
- src/SUMMARY.md+4-4
- src/appendix-01-keywords.md+2-1
- src/appendix-03-derivable-traits.md+1-1
- src/ch06-03-if-let.md+1-1
- src/ch17-00-async-await.md+2-2
- src/ch17-01-futures-and-syntax.md+1-1
- src/ch17-02-concurrency-with-async.md+3
- src/ch17-03-more-futures.md+1
- src/ch17-04-streams.md+2-4
- src/ch17-05-traits-for-async.md+4-1
- src/ch18-02-trait-objects.md+1-1
- src/ch18-03-oo-design-patterns.md+1-1
- src/ch20-02-advanced-traits.md+1-1
- src/ch20-03-advanced-types.md+1-1
- src/ch20-04-advanced-functions-and-closures.md+1-1
- src/ch20-05-macros.md
- src/ch21-02-multithreaded.md+1-1
- src/ch21-03-graceful-shutdown-and-cleanup.md+2-2
- docs/authoring.md+1-1
- mdbook-spec/src/lib.rs+15
- mdbook-spec/src/rules.rs+3-2
- mdbook-spec/src/std_links.rs+15-4
- src/attributes.md+6-11
- src/attributes/codegen.md+17-24
- src/attributes/debugger.md+5-9
- src/attributes/derive.md+2-3
- src/attributes/diagnostics.md+10-18
- src/attributes/limits.md+3-4
- src/attributes/testing.md+4-7
- src/attributes/type_system.md+2-4
- src/behavior-considered-undefined.md+3-4
- src/comments.md+3-4
- src/conditional-compilation.md+20-34
- src/const_eval.md+3-5
- src/crates-and-source-files.md+4-7
- src/destructors.md+10-14
- src/identifiers.md+3-5
- src/inline-assembly.md+19-31
- src/input-format.md+6-9
- src/interior-mutability.md+1-2
- src/items.md+1-2
- src/items/associated-items.md+7-14
- src/items/constant-items.md+5-9
- src/items/enumerations.md+8-16
- src/items/extern-crates.md+3-6
- src/items/external-blocks.md+15-34
- src/items/functions.md+10-20
- src/items/generics.md+5-9
- src/items/implementations.md+7-14
- src/items/modules.md+4-8
- src/items/static-items.md+18-15
- src/items/structs.md+1-2
- src/items/traits.md+8-16
- src/items/type-aliases.md+1-2
- src/items/unions.md+5-10
- src/items/use-declarations.md+10-20
- src/keywords.md+21-1
- src/lifetime-elision.md+53-7
- src/linkage.md+2-3
- src/macro-ambiguity.md+8-15
- src/macros-by-example.md+11-21
- src/macros.md+17
- src/memory-allocation-and-lifetime.md+3
- src/names.md+48-3
- src/paths.md+81-15
- src/patterns.md+174
- src/procedural-macros.md+8-15
- src/runtime.md+27-7
- src/special-types-and-traits.md+79-6
- src/statements-and-expressions.md+1-1
- src/statements.md+6-10
- src/subtyping.md+2-4
- src/tokens.md+22-40
- src/trait-bounds.md+6-10
- src/type-coercions.md+5-10
- src/type-layout.md+23-36
- src/types.md+4-8
- src/types/array.md+1-2
- src/types/boolean.md+8-16
- src/types/closure.md+22-27
- src/types/enum.md+1-2
- src/types/function-item.md+1-2
- src/types/function-pointer.md+17-19
- src/types/impl-trait.md+8-16
- src/types/inferred.md+1-2
- src/types/never.md+1-2
- src/types/numeric.md+5-10
- src/types/parameters.md+1-2
- src/types/pointer.md+7-14
- src/types/slice.md+1-2
- src/types/struct.md+1-2
- src/types/textual.md+2-4
- src/types/trait-object.md+2-4
- src/types/tuple.md+1-2
- src/types/union.md+1-2
- src/unsafe-keyword.md+7-11
- src/unsafety.md+1-2
- src/variables.md+1-2
- src/visibility-and-privacy.md+3-6
- src/whitespace.md+1-2
- theme/reference.css+245-22
0 commit comments