Commit 6ab19fd
authored
Rollup merge of rust-lang#100042 - ehuss:update-books, r=ehuss
Update books
## reference
2 commits in a92be0fef439b3d8e0468d82cb24812d303520a0..f3d3953bf3b158d596c96d55ce5366f9f3f972e9
2022-07-21 19:01:23 -0700 to 2022-08-01 17:17:37 -0700
- Add `let_chains` references (rust-lang/reference#1179)
- Remove outdated warning (rust-lang/reference#1243)
## rust-by-example
18 commits in 3155db49b0d57cd82c65456ac210b69ecec5ccb1..ee342dc91e1ba1bb1e1f1318f84bbe3bfac04798
2022-07-05 20:35:53 -0300 to 2022-07-27 11:06:36 -0300
- Closure inferred twice (rust-lang/rust-by-example#1588)
- fix a syntax bug in example assembly (rust-lang/rust-by-example#1511)
- Minor grammar change in src/std/rc.md paragraph 2 (rust-lang/rust-by-example#1586)
- Fix typo in asm.md (rust-lang/rust-by-example#1585)
- Fix incorrect padding in fixed-width print (rust-lang/rust-by-example#1584)
- Update print.md (rust-lang/rust-by-example#1582)
- add-chapter-on-defaults (rust-lang/rust-by-example#1580)
- Fix typo (rust-lang/rust-by-example#1579)
- fix a compile error (rust-lang/rust-by-example#1578)
- Suggest using mod.rs pattern to share test code (rust-lang/rust-by-example#1577)
- fix a compile error in iter_any.md (rust-lang/rust-by-example#1576)
- Mention attribute like macros in attributes.md (rust-lang/rust-by-example#1574)
- Update exercise to be clearer (rust-lang/rust-by-example#1573)
- fixes link for turbofish in testcase_mapreduce.md (rust-lang/rust-by-example#1572)
- Fix inconsistency between comment and code in hello/print.md (rust-lang/rust-by-example#1571)
- Fixes a typo in print.md (rust-lang/rust-by-example#1570)
- into_iter-moves-elements (rust-lang/rust-by-example#1569)
- Fix a typo in print.md (rust-lang/rust-by-example#1568)
## rustc-dev-guide
16 commits in d5201cd..04f3cf0
2022-07-21 04:48:49 +0200 to 2022-07-31 07:46:57 +0200
- address review comment
- accept review suggestion
- try address review comments
- summary of chapter
- Update src/building/compiler-documenting.md
- revamp doc-build chapter
- minor fixes
- Prefer relative links
- Fix the link to clippy docs
- Fix the link to `ResolverAstLowering`
- Fix the link to `ProcMacro` trait
- Fix the link to `Lazy<T>`
- Add instructions to fix build errors in std after adding a new target
- Document how to build a cross-compiler
- Add documentation about Microsoft provided debuggers and CodeView/PDB… (rust-lang/rustc-dev-guide#1406)
- rust-analyzer is now a subtree
## embedded-book
2 commits in 766979590da8100998f0d662499d4a901d8d1640..befe6840874311635c417cf731377f07234ee373
2022-07-04 09:13:58 +0000 to 2022-07-25 07:51:14 +0000
- Updated instructions for running first Hardware example (rust-embedded/book#323)
- Improved ligability for hardware.md (rust-embedded/book#324)File tree
4 files changed
+4
-4
lines changed- src/doc
4 files changed
+4
-4
lines changedSubmodule embedded-book updated 1 file
- src/SUMMARY.md+1-1
- src/attributes/type_system.md-1
- src/const_eval.md+2-4
- src/destructors.md+2-2
- src/expressions.md+2-4
- src/expressions/array-expr.md-7
- src/expressions/block-expr.md+1-2
- src/expressions/if-expr.md+75-81
- src/expressions/loop-expr.md+54-26
- src/expressions/struct-expr.md+1-1
- src/names.md+2-2
- src/names/namespaces.md+2-2
- src/patterns.md+1-1
- src/tokens.md+2-2
Submodule rust-by-example updated 11 files
- src/SUMMARY.md+1
- src/attribute.md+2
- src/error/option_unwrap/defaults.md+123
- src/fn/closures.md+3
- src/fn/closures/closure_examples/iter_any.md+9-1
- src/fn/closures/closure_examples/iter_find.md+1-1
- src/hello/print.md+10-9
- src/std/rc.md+1-1
- src/std_misc/threads/testcase_mapreduce.md+1-1
- src/testing/integration_testing.md+6-5
- src/unsafe/asm.md+2-2
Submodule rustc-dev-guide updated 11 files
- src/building/compiler-documenting.md+33-39
- src/building/how-to-build-and-run.md+46-5
- src/building/new-target.md+16
- src/contributing.md+1
- src/debugging-support-in-rustc.md+37-1
- src/diagnostics/diagnostic-items.md+1-1
- src/git.md+1-1
- src/macro-expansion.md+2-2
- src/mir/optimizations.md+5-5
- src/name-resolution.md+2-2
- src/serialization.md+10-8
0 commit comments