Commit 28b92ba
authored
Rollup merge of rust-lang#98410 - ehuss:update-books, r=ehuss
Update books
## reference
6 commits in 683bfe5cd64d589c6a1645312ab5f93b6385ccbb..9fce337a55ee4a4629205f6094656195cecad231
2022-05-27 11:54:20 -0700 to 2022-06-22 13:59:28 -0700
- Remove outdated restriction on recursive types (rust-lang/reference#1231)
- Clarify "string continue" for (byte) string literals (rust-lang/reference#1042)
- Add a note to the turbofish section about impl Trait (rust-lang/reference#1212)
- modify confusing variance example (rust-lang/reference#1224)
- Add stable references of `macro_metavar_expr` (rust-lang/reference#1192)
- Document native library modifier `bundle` (rust-lang/reference#1210)
## book
33 commits in 396fdb69de7fb18f24b15c7ad13491b1c1fa7231..efbafdba3618487fbc9305318fcab9775132ac15
2022-06-08 10:02:35 -0400 to 2022-06-19 21:06:50 -0400
- Propagate tech review edits to appendices to src
- Tech review comments and further edits to the appendices
- Duplicate fragment "mutation and borrowing"
- Propagate ch20 tech review edits to src
- Edits in response to tech review of chapter 20
- Comments from tech review on chapter 20
- Propagate ch7 tech review edits to src
- Responding to tech review of ch7
- Tech review comments on ch7
- Propagate ch19 tech review edits to src
- Responses to tech review of ch19
- Tech review comments on ch 19
- Update ch03-01-variables-and-mutability.md
- Add more explanation to CONTRIBUTING about the nostarch directory
- Duplicate sentence
- Missing period
- Regenerate ch09-02 error messages
- Change some print formatting styles in ch18
- Propagate tech review ch18 edits to src
- Responses to tech review comments of chapter 18
- Chapter 18 from tech review
- Snapshot of introduction for nostarch
- Propagate edits of ch1 to src
- Edits to edits to chapter 1
- Edits from nostarch for chapter 1
- Update Visual Studio instructions for 2022
- bugfix/typo-ch10-01 Fix typo in chapter ch10-01
- Tweak rustfmt slightly for these listings
- Propagate edits to ch13 to src
- Responses to nostarch edits to ch13
- Edits to ch13 from nostarch
- Apply complex Clippy recommendation
- Apply Clippy recommendations: `cargo clippy --fix`
## rust-by-example
4 commits in dbb7e5e2345ee26199ffba218156b6009016a20c..1095df2a5850f2d345fad43a30633133365875ba
2022-06-02 16:30:51 -0300 to 2022-06-18 21:47:12 -0300
- Add example for `array.get()` (rust-lang/rust-by-example#1554)
- Example improvements (rust-lang/rust-by-example#1552)
- Fix for a set of typos (rust-lang/rust-by-example#1551)
- Make guard examples clearer around `_` (rust-lang/rust-by-example#1550)
## rustc-dev-guide
11 commits in 6e4d643..048d925
2022-06-08 08:06:32 +0900 to 2022-06-21 22:25:34 +0900
- not obvious what Ex is, so rather get rid (rust-lang/rustc-dev-guide#1372)
- small improves (rust-lang/rustc-dev-guide#1371)
- make clear that other versions can work (rust-lang/rustc-dev-guide#1373)
- Fix small `src/diagnostics.md` typo (rust-lang/rustc-dev-guide#1370)
- Add an "is" and rearange "We next" to "Next, we" (rust-lang/rustc-dev-guide#1369)
- diagnostics: add translation documentation
- diagnostics: line wrapping/heading changes
- later -> latter
- Remove mention of -Zborrowck=mir with Polonius. (rust-lang/rustc-dev-guide#1367)
- Remove nll compare mode. (rust-lang/rustc-dev-guide#1366)
- add section on user types (rust-lang/rustc-dev-guide#1359)
## embedded-book
1 commits in cbb494f96da3268c2925bdadc65ca83d42f2d4ef..e17dcef5e96346ee3d7fa56820ddc7e5c39636bc
2022-05-26 06:58:43 +0000 to 2022-06-19 10:28:00 +0000
- Fix a typo (rust-embedded/book#319)File tree
5 files changed
+5
-5
lines changed- src/doc
5 files changed
+5
-5
lines changed- CONTRIBUTING.md+23
- ci/dictionary.txt+1
- listings/ch13-functional-features/listing-13-07/.rustfmt.toml+2
- listings/ch13-functional-features/listing-13-07/src/main.rs+3-12
- listings/ch13-functional-features/listing-13-08/.rustfmt.toml+2
- listings/ch13-functional-features/listing-13-08/src/main.rs+3-12
- listings/ch13-functional-features/listing-13-09/.rustfmt.toml+2
- listings/ch13-functional-features/listing-13-09/src/main.rs+3-12
- listings/ch18-patterns-and-matching/listing-18-01/src/main.rs+1-1
- listings/ch18-patterns-and-matching/listing-18-11/src/main.rs+2-2
- listings/ch18-patterns-and-matching/listing-18-19/src/main.rs+1-1
- listings/ch18-patterns-and-matching/listing-18-24/src/main.rs+1-1
- listings/ch18-patterns-and-matching/listing-18-27/src/main.rs+2-2
- nostarch/appendix.md+28-35
- nostarch/chapter01.md+107-66
- nostarch/chapter07.md+78-85
- nostarch/chapter13.md+378-277
- nostarch/chapter18.md+44-17
- nostarch/chapter19.md+61-43
- nostarch/chapter20.md+42-28
- nostarch/introduction.md+184
- src/SUMMARY.md+1-1
- src/appendix-01-keywords.md+10-8
- src/appendix-04-useful-development-tools.md+2-2
- src/ch01-01-installation.md+37-34
- src/ch01-02-hello-world.md+25-23
- src/ch01-03-hello-cargo.md+21-15
- src/ch03-01-variables-and-mutability.md+3-3
- src/ch07-02-defining-modules-to-control-scope-and-privacy.md+3-3
- src/ch07-03-paths-for-referring-to-an-item-in-the-module-tree.md+15-10
- src/ch07-05-separating-modules-into-different-files.md+1-1
- src/ch08-03-hash-maps.md+1-2
- src/ch09-02-recoverable-errors-with-result.md+6-6
- src/ch10-01-syntax.md+2-2
- src/ch10-03-lifetime-syntax.md+1-1
- src/ch13-00-functional-features.md+6-6
- src/ch13-01-closures.md+146-120
- src/ch13-02-iterators.md+33-28
- src/ch13-03-improving-our-io-project.md+5-3
- src/ch15-05-interior-mutability.md+3-3
- src/ch18-00-patterns.md+4-3
- src/ch18-03-pattern-syntax.md+4
- src/ch19-03-advanced-traits.md+9-3
- src/ch19-04-advanced-types.md+3-1
- src/ch19-06-macros.md+11-21
- src/ch20-02-multithreaded.md+22-11
- tools/src/bin/concat_chapters.rs+2-2
- tools/src/bin/convert_quotes.rs+5-5
- tools/src/bin/lfp.rs+5-9
- tools/src/bin/link2print.rs+6-6
- tools/src/bin/release_listings.rs+4-4
- tools/src/bin/remove_hidden_lines.rs+1-1
- tools/src/bin/remove_links.rs+2-2
- tools/src/bin/remove_markup.rs+2-2
Submodule embedded-book updated 1 file
Submodule rustc-dev-guide updated 19 files
- book.toml+1
- src/SUMMARY.md+6-5
- src/borrow_check/type_check.md+54
- src/diagnostics.md+66-45
- src/diagnostics/diagnostic-codes.md+4-4
- src/diagnostics/diagnostic-items.md+74-73
- src/diagnostics/diagnostic-structs.md+359
- src/diagnostics/error-guaranteed.md-3
- src/diagnostics/lintstore.md+65-59
- src/diagnostics/sessiondiagnostic.md-207
- src/diagnostics/translation.md+239
- src/overview.md+2-2
- src/rustc-driver-getting-diagnostics.md+1-1
- src/rustc-driver-interacting-with-the-ast.md+1-1
- src/tests/compiletest.md+5-6
- src/tests/docker.md+1-1
- src/tests/headers.md+1-1
- src/tests/running.md+5-5
- src/tests/ui.md+7-8
0 commit comments