Commit 3af6bb1
authored
Rollup merge of rust-lang#145026 - rustbot:docs-update, r=ehuss
Update books
## rust-lang/book
5 commits in b2d1a0821e12a676b496d61891b8e3d374a8e832..3e9dc46aa563ca0c53ec826c41b05f10c5915925
2025-08-02 01:33:29 UTC to 2025-07-14 21:23:38 UTC
- Appendix B and Appendix D from tech review (rust-lang/book#4466)
- Chapter 21 from tech review (rust-lang/book#4464)
- Chapter 20 from tech review (rust-lang/book#4460)
- Chapter 19 from tech review (rust-lang/book#4446)
- Chapter 18 from tech review (rust-lang/book#4445)
## rust-lang/reference
12 commits in 1f45bd41fa6c17b7c048ed6bfe5f168c4311206a..1be151c051a082b542548c62cafbcb055fa8944f
2025-08-05 19:51:40 UTC to 2025-07-14 19:49:01 UTC
- Fix build output directory in README (rust-lang/reference#1950)
- Update `link_name` to use the attribute template (rust-lang/reference#1896)
- Update `no_link` to use the attribute template (rust-lang/reference#1898)
- Update `proc_macro_derive` to use the attribute template (rust-lang/reference#1888)
- Update `automatically_derived` to use the attribute template (rust-lang/reference#1884)
- Update `derive` to use the attribute template (rust-lang/reference#1883)
- Fix and clarify CR LF normalization and CR in string literals (rust-lang/reference#1944)
- glossary.md: tweak description of "dispatch" (rust-lang/reference#1938)
- add missing id, r[asm.operand-type.supported-operands.const] (rust-lang/reference#1939)
- &str and &[u8] have the same layout (rust-lang/reference#1848)
- Rename and rewrite the "question mark operator" (rust-lang/reference#1931)
- Change "allocated object" to "allocation". (rust-lang/reference#1930)
## rust-lang/rust-by-example
3 commits in e386be5f44af711854207c11fdd61bb576270b04..bd1279cdc9865bfff605e741fb76a0b2f07314a7
2025-08-04 13:41:04 UTC to 2025-08-02 15:41:59 UTC
- Improve the activity instructions in `print_display` (rust-lang/rust-by-example#1948)
- Minor fixes (whitespace, typo, i32->u32) (rust-lang/rust-by-example#1947)
- Document drawbacks of alternatives to match binding (rust-lang/rust-by-example#1946)3 files changed
+3
-3
lines changed- ci/dictionary.txt+1
- listings/ch13-functional-features/listing-13-19/src/main.rs-1
- listings/ch14-more-about-cargo/no-listing-01-workspace/add/rustfmt-ignore+1
- listings/ch19-patterns-and-matching/listing-19-01/src/main.rs+3-17
- listings/ch19-patterns-and-matching/listing-19-02/output.txt+15
- listings/ch19-patterns-and-matching/listing-19-02/src/main.rs+1-10
- listings/ch19-patterns-and-matching/listing-19-03/output.txt-7
- listings/ch19-patterns-and-matching/listing-19-03/src/main.rs+15-5
- listings/ch19-patterns-and-matching/listing-19-04/src/main.rs+10-1
- listings/ch19-patterns-and-matching/listing-19-05/output.txt+5-13
- listings/ch19-patterns-and-matching/listing-19-05/src/main.rs+5-1
- listings/ch19-patterns-and-matching/listing-19-29/src/main.rs+3-3
- listings/ch20-advanced-features/listing-20-07/output.txt+33
- listings/ch20-advanced-features/listing-20-10/src/main.rs+1-1
- listings/ch20-advanced-features/listing-20-11/output.txt-5
- listings/ch20-advanced-features/no-listing-21-pancakes/hello_macro/hello_macro_derive/src/lib.rs+2-2
- nostarch/appendix.md+35-37
- nostarch/appendix_b.md+13-13
- nostarch/appendix_d.md+18-25
- nostarch/chapter18.md+170-149
- nostarch/chapter19.md+224-205
- nostarch/chapter20.md+427-303
- nostarch/chapter21.md+123-101
- nostarch/docx/appendix_b.docx
- nostarch/docx/appendix_d.docx
- nostarch/docx/chapter18.docx
- nostarch/docx/chapter19.docx
- nostarch/docx/chapter20.docx
- nostarch/docx/chapter21.docx
- src/appendix-02-operators.md+16-16
- src/appendix-04-useful-development-tools.md+14-26
- src/ch18-01-what-is-oo.md+25-25
- src/ch18-02-trait-objects.md+37-36
- src/ch18-03-oo-design-patterns.md+65-51
- src/ch19-01-all-the-places-for-patterns.md+108-106
- src/ch19-02-refutability.md+8-8
- src/ch19-03-pattern-syntax.md+48-47
- src/ch20-00-advanced-features.md+1-1
- src/ch20-01-unsafe-rust.md+136-132
- src/ch20-02-advanced-traits.md+44-40
- src/ch20-03-advanced-types.md+23-23
- src/ch20-04-advanced-functions-and-closures.md+27-26
- src/ch20-05-macros.md+24-21
- src/ch21-00-final-project-a-web-server.md+5-5
- src/ch21-01-single-threaded.md+17-20
- src/ch21-02-multithreaded.md+28-19
- src/ch21-03-graceful-shutdown-and-cleanup.md+19-16
- tools/docx-to-md.xsl+1-1
- tools/update-rustc.sh+4-1
- README.md+1-1
- src/attributes.md+1-1
- src/attributes/derive.md+96-38
- src/behavior-considered-undefined.md+1-1
- src/dynamically-sized-types.md+3-6
- src/expressions/operator-expr.md+113-52
- src/glossary.md+1-4
- src/inline-assembly.md+1
- src/input-format.md+1
- src/items/extern-crates.md+29-3
- src/items/external-blocks.md+24-12
- src/items/static-items.md+5-5
- src/items/use-declarations.md+1-1
- src/names/namespaces.md+1-1
- src/names/preludes.md+1
- src/procedural-macros.md+91-70
- src/tokens.md+5-7
- src/type-layout.md+1-1
- src/types/textual.md+2-1
Submodule rust-by-example updated 47 files
- po/es.po+1-1
- src/crates/using_lib.md+1-1
- src/custom_types/enum/c_like.md+2-2
- src/custom_types/enum/testcase_linked_list.md+1-1
- src/error/abort_unwind.md+1-1
- src/error/option_unwrap/and_then.md+1-1
- src/error/option_unwrap/defaults.md+4-4
- src/error/result/enter_question_mark.md+1-1
- src/flow_control/for.md+2-2
- src/flow_control/if_let.md+3-3
- src/flow_control/let_else.md+2-2
- src/flow_control/match/binding.md+14-2
- src/flow_control/while_let.md+1-1
- src/fn/closures.md+1-1
- src/fn/closures/capture.md+7-7
- src/fn/closures/closure_examples/iter_find.md+2-2
- src/generics.md+1-1
- src/generics/assoc_items/types.md+1-1
- src/generics/bounds.md+1-1
- src/generics/gen_fn.md+1-1
- src/generics/where.md+1-1
- src/hello/print/print_display.md+14-1
- src/mod/super.md+6-6
- src/primitives.md+1-1
- src/scope/borrow.md+1-1
- src/scope/borrow/mut.md+3-3
- src/scope/borrow/ref.md+2-2
- src/scope/lifetime.md+2-2
- src/scope/lifetime/explicit.md+6-6
- src/scope/lifetime/fn.md+2-2
- src/scope/lifetime/lifetime_coercion.md+2-2
- src/scope/move.md+1-1
- src/std/box.md+1-1
- src/std/hash.md+5-5
- src/std/panic.md+4-4
- src/std/rc.md+9-9
- src/std_misc/channels.md+1-1
- src/std_misc/file/read_lines.md+1-1
- src/std_misc/fs.md-1
- src/std_misc/path.md-1
- src/std_misc/threads/testcase_mapreduce.md-2
- src/testing/dev_dependencies.md+1-1
- src/trait.md+1-1
- src/trait/drop.md+2-2
- src/trait/iter.md+1-1
- src/trait/supertraits.md+1-1
- src/variable_bindings/declare.md+1-1
0 commit comments