Commit e51a476
authored
Rollup merge of rust-lang#99588 - ehuss:update-books, r=ehuss
Update books
## nomicon
1 commits in 70db9e4189f64d1d8e2451b1046111fb356b6dc2..8d1e4dccf71114ff56f328f671f2026d8e6b62a2
2022-06-27 20:47:21 +0900 to 2022-07-18 18:12:35 -0400
- Should be `align_of` instead of `size_of`
## reference
11 commits in 9fce337a55ee4a4629205f6094656195cecad231..a92be0fef439b3d8e0468d82cb24812d303520a0
2022-06-22 13:59:28 -0700 to 2022-07-21 19:01:23 -0700
- Add `IntoFuture::into_future` desugaring (rust-lang/reference#1233)
- Remove uses of the phrase "in Rust" (rust-lang/reference#1241)
- Revert "Add stable references of `macro_metavar_expr`" (rust-lang/reference#1242)
- tweaks
- further tweak addr_of exposition
- edits
- Apply suggestions from code review
- document raw-addr-of operators
- update union field type rules (rust-lang/reference#1238)
- clarify that references size_of_val can never exceed isize::MAX (rust-lang/reference#1186)
- Describe what `windows_subsystem` does (rust-lang/reference#1232)
## book
9 commits in cf2653a5ca553cbbb4a17f1a7db1947820f6a775..36383b4da21dbd0a0781473bc8ad7ef0ed1b6751
2022-07-05 12:07:58 -0400 to 2022-07-19 21:03:20 -0400
- Update ch16-02-message-passing.md
- Update snapshots with edits made to src that need to be checked
- Remove inconsistent newline. Fixes rust-lang/book#3240.
- add missing `b` in chapter 15.6
- Grammar: corrected 'as much' to 'as such'
- grammar: add missing 'of'
- Fix incorrect link for listing 13-06
- Correct method name
- Remove unused theme directories.
## rust-by-example
2 commits in 83724ca387a2a1cd3e8d848f62820020760e358b..3155db49b0d57cd82c65456ac210b69ecec5ccb1
2022-07-05 10:38:07 -0300 to 2022-07-05 20:35:53 -0300
- fix-type (rust-lang/rust-by-example#1565)
- add-examples-to-destructure-tuples (rust-lang/rust-by-example#1566)
## rustc-dev-guide
27 commits in eb83839..d5201cd
2022-07-03 15:17:39 +0900 to 2022-07-21 04:48:49 +0200
- Debuginfo tests now also support revisions.
- Link to rendered book directly
- Fix link to clippy sync docs
- remove stray markup
- renamed
- sync with hackmd version
- replace misleading name (rust-lang/rustc-dev-guide#1401)
- Remove a mention to Steve on r? example
- obey line length limit (part 3)
- obey line length limit (part 2)
- obey line length limit
- sync with hackmd
- add draft chapter
- add mdbook-mermaid
- use relative links
- fix some typos (rust-lang/rustc-dev-guide#1398)
- typo: monomorph docs
- Rename debugging_opts to unstable_opts, use link
- address review comment
- update date reference on MIR inliner
- remove outdated info on debugging
- small fixes to ty chapter (rust-lang/rustc-dev-guide#1390)
- Update the build instructions for the standard library
- overview.md: Link to existing Macro Expansion and Name Resolution docs (rust-lang/rustc-dev-guide#1388)
- Git-ignore `pulls.json` (rust-lang/rustc-dev-guide#1386)
- Revert "Add the config needed to get rust-analyzer working on src/bootstrap (rust-lang/rustc-dev-guide#1381)"
- Use `x.py check` instead of `cargo check` for build scripts (rust-lang/rustc-dev-guide#1384)5 files changed
+5
-5
lines changed- first-edition/book.toml-3
- first-edition/src/theme/first-edition.css-56
- first-edition/src/theme/header.hbs-27
- first-edition/src/theme/index.hbs-37
- listings/ch12-an-io-project/listing-12-13/src/main.rs-1
- listings/ch12-an-io-project/listing-12-14/src/main.rs-1
- listings/ch12-an-io-project/listing-12-15/src/main.rs-1
- listings/ch12-an-io-project/listing-12-16/src/main.rs-1
- listings/ch12-an-io-project/listing-12-17/src/main.rs-1
- listings/ch12-an-io-project/listing-12-18/src/main.rs-1
- listings/ch12-an-io-project/listing-12-19/src/main.rs-1
- listings/ch12-an-io-project/listing-12-20/src/main.rs-1
- listings/ch12-an-io-project/listing-12-21/src/main.rs-1
- listings/ch12-an-io-project/listing-12-22/src/main.rs-1
- listings/ch12-an-io-project/listing-12-23/src/main.rs-1
- listings/ch12-an-io-project/listing-12-24/src/main.rs-1
- listings/ch12-an-io-project/no-listing-01-handling-errors-in-main/src/main.rs-1
- listings/ch12-an-io-project/no-listing-02-using-search-in-run/src/main.rs-1
- listings/ch12-an-io-project/output-only-02-missing-lifetimes/src/main.rs-1
- listings/ch12-an-io-project/output-only-03-multiple-matches/src/main.rs-1
- listings/ch12-an-io-project/output-only-04-no-matches/src/main.rs-1
- listings/ch13-functional-features/listing-12-23-reproduced/src/main.rs-1
- listings/ch13-functional-features/listing-12-24-reproduced/src/main.rs-1
- listings/ch13-functional-features/listing-13-18/src/main.rs-1
- listings/ch13-functional-features/listing-13-19/src/main.rs-1
- listings/ch13-functional-features/listing-13-20/src/main.rs-1
- listings/ch13-functional-features/listing-13-22/src/main.rs-1
- nostarch/chapter12.md+13-123
- nostarch/chapter13.md+58-154
- nostarch/chapter15.md+6-56
- second-edition/src/theme/index.hbs-37
- src/ch12-03-improving-error-handling-and-modularity.md+5-5
- src/ch13-01-closures.md+2-2
- src/ch13-02-iterators.md+6-5
- src/ch15-00-smart-pointers.md+1-1
- src/ch15-03-drop.md+7-6
- src/ch15-06-reference-cycles.md+1-1
- src/ch16-02-message-passing.md+1-1
- src/behavior-considered-undefined.md+11-6
- src/comments.md+1-1
- src/expressions.md+2-1
- src/expressions/await-expr.md+13-8
- src/expressions/operator-expr.md+47
- src/interior-mutability.md+1-1
- src/items/functions.md+1-1
- src/items/unions.md+14-23
- src/macros-by-example.md-47
- src/runtime.md+7
- src/statements-and-expressions.md+1-1
- src/types/pointer.md+2-2
- src/types/union.md+8-7
- src/visibility-and-privacy.md+1-1
Submodule rustc-dev-guide updated 30 files
- .github/workflows/ci.yml+3-1
- .gitignore+3
- book.toml+4
- mermaid-init.js+1
- mermaid.min.js+4
- src/SUMMARY.md+2-1
- src/asm.md+1-1
- src/backend/monomorph.md+2-2
- src/building/bootstrapping.md+4-4
- src/building/compiler-documenting.md+2-2
- src/building/how-to-build-and-run.md+10-26
- src/building/suggested.md+7-12
- src/contributing.md+7-9
- src/debugging-support-in-rustc.md+37-74
- src/implementing_new_features.md+2-2
- src/lang-items.md+2-2
- src/macro-expansion.md+1-1
- src/mir/optimizations.md+7-6
- src/opaque-types-impl-trait-inference.md+277
- src/overview.md+25-25
- src/parallel-rustc.md+7-7
- src/profiling.md+3-2
- src/profiling/wpa_profiling.md+2-2
- src/rustdoc-internals.md+1-1
- src/rustdoc.md+2-2
- src/salsa.md+1-1
- src/tests/compiletest.md+3-3
- src/tests/intro.md+2-2
- src/tests/running.md+5-2
- src/ty.md+21-11
0 commit comments