Commit 823a386
authored
Rollup merge of rust-lang#94490 - ehuss:update-books, r=ehuss
Update books
## nomicon
1 commits in 90993eeac93dbf9388992de92965f99cf6f29a03..f6d6126fc96ecf4a7f7d22da330df9506293b0d0
2022-02-13 12:44:12 +0900 to 2022-02-26 02:21:21 +0900
- ffi: explicitly declare hello_from_rust for C99 (rust-lang/nomicon#343)
## reference
20 commits in 70fc73a6b908e08e66aa0306856c5211312f6c05..9d289c05fce7254b99c6a0d354d84abb7fd7a032
2022-02-14 19:33:01 -0800 to 2022-02-23 08:58:20 -0800
- Fix typo in `functions.md` (rust-lang/reference#1173)
- Fix CI
- Unify global_asm/asm directive list
- Update src/inline-assembly.md
- Update src/inline-assembly.md
- Fix changes unintentional reverted in d5d3d80
- Add note about operand interpolations
- Sort lists, add syntax control directives
- Add another missed batch suggestion
- Add missed batch suggestion
- Apply suggestions from code review
- Add .type, .size, and .p2align
- Reformat directive lists
- Add `.inst` directive
- Add missing directives
- Add additional directives in use
- Add `.fill` directive
- Style fixes
- Fix code block
- Add supported Directives list
## book
13 commits in 67b768c0b660a069a45f0e5d8ae2f679df1022ab..3f255ed40b8c82a0434088568fbed270dc31bf00
2022-02-09 21:52:41 -0500 to 2022-02-27 21:26:12 -0500
- Add a back reference about enum variant initializer fns. Fixes rust-lang/book#800.
- Update ch01-03-hello-cargo.md
- ch03-05: Add definite article for the block of code
- Change variable names from "slice" to "values"
- Remove reference to advanced lifetime section that no longer exists
- Fix link to go to the right newtype section
- Remove confusing and redundant part of a sentence about newtypes
- Make transition less repetitive
- Correct wording about associated functions.
- Remove unnecessary extern crate proc_macro
- Clarify that this code is defining, not using a procedural macro
- Add manual regeneration steps for cargo new test
- Update Listing 11-1 to reflect current contents
## rust-by-example
11 commits in 18c0055b8aea49391e8f758a4400097999c9cf1e..2a928483a20bb306a7399c0468234db90d89afb5
2022-01-19 08:51:55 -0300 to 2022-02-28 11:36:59 -0300
- Update destructure_slice.md (rust-lang/rust-by-example#1513)
- Update iter_find.md (rust-lang/rust-by-example#1512)
- Add an example of collecting errors while iterating successes (rust-lang/rust-by-example#1509)
- Fix broken link on asm (rust-lang/rust-by-example#1508)
- Update abort_unwind.md (rust-lang/rust-by-example#1505)
- Remove duplicate text in asm.md (rust-lang/rust-by-example#1506)
- Improve asm clobber example (rust-lang/rust-by-example#1504)
- Add +1 to next_age (rust-lang/rust-by-example#1503)
- fix comment on into_iter() for arrays (rust-lang/rust-by-example#1502)
- Added new Rust 1.58 direct format args (rust-lang/rust-by-example#1501)
- documentation for cfg_panic (rust-lang/rust-by-example#1500)
## rustc-dev-guide
13 commits in 62f5839..32f2a5b
2022-02-11 08:42:50 -0500 to 2022-03-01 10:45:24 -0600
- Add architecture suggestion for Apple silicon (rust-lang/rustc-dev-guide#1320)
- cargo timings has been stabilized (rust-lang/rustc-dev-guide#1319)
- Add known-bug header. (rust-lang/rustc-dev-guide#1311)
- Fix typo (rust-lang/rustc-dev-guide#1315)
- Typo (rust-lang/rustc-dev-guide#1313)
- instrument-coverage has been stabilized.
- symbol-mangling-version has been stabilized
- Fix `Ty` link (rust-lang/rustc-dev-guide#1308)
- Edit glossary (rust-lang/rustc-dev-guide#1302)
- Fix heading levels in the query chapter (rust-lang/rustc-dev-guide#1305)
- Fix link
- Edit "Queries" chapter (rust-lang/rustc-dev-guide#1301)
- Link to The Rust Performance Book (rust-lang/rustc-dev-guide#1300)
## edition-guide
1 commits in beea0a3cdc3885375342fd010f9ad658e6a5e09a..c55611dd6c58bdeb52423b5c52fd0f3c93615ba8
2021-12-05 07:06:45 -0800 to 2022-02-21 14:21:39 +0100
- Remove `+nightly` for `cargo new` (rust-lang/edition-guide#276)File tree
6 files changed
+6
-6
lines changed- src/doc
6 files changed
+6
-6
lines changed- listings/ch11-writing-automated-tests/listing-11-01/src/lib.rs+2-1
- listings/ch19-advanced-features/listing-19-05/output.txt+9-9
- listings/ch19-advanced-features/listing-19-05/src/main.rs+3-3
- listings/ch19-advanced-features/listing-19-06/src/main.rs+3-3
- listings/ch19-advanced-features/listing-19-07/src/main.rs+1-1
- listings/ch19-advanced-features/listing-19-31/hello_macro/hello_macro_derive/src/lib.rs-2
- listings/ch19-advanced-features/listing-19-33/hello_macro/hello_macro_derive/src/lib.rs-2
- listings/ch19-advanced-features/no-listing-21-pancakes/hello_macro/hello_macro_derive/src/lib.rs-2
- src/ch01-03-hello-cargo.md+1
- src/ch03-05-control-flow.md+1-1
- src/ch11-01-writing-tests.md+10
- src/ch19-01-unsafe-rust.md+1-1
- src/ch19-03-advanced-traits.md+11-11
- src/ch19-04-advanced-types.md+1-2
- src/ch19-05-advanced-functions-and-closures.md+6-7
- src/ch19-06-macros.md+2-2
Submodule rust-by-example updated 9 files
- src/SUMMARY.md+1
- src/error/abort_unwind.md+51
- src/error/iter_result.md+19
- src/error/option_unwrap/question_mark.md+1-1
- src/flow_control/match/destructuring/destructure_slice.md+1-1
- src/fn/closures/closure_examples/iter_any.md+1-1
- src/fn/closures/closure_examples/iter_find.md+6-3
- src/hello/print.md+7
- src/unsafe/asm.md+36-32
Submodule rustc-dev-guide updated 14 files
- src/appendix/code-index.md+1-1
- src/appendix/glossary.md+4-4
- src/building/bootstrapping.md+1-1
- src/building/how-to-build-and-run.md+1-1
- src/getting-started.md+4
- src/llvm-coverage-instrumentation.md+9-10
- src/mir/dataflow.md+2-2
- src/overview.md+1-1
- src/profile-guided-optimization.md+1-1
- src/profiling.md+3-3
- src/query.md+51-46
- src/tests/headers.md+2
- src/tests/ui.md+15
- src/ty.md+1-1
0 commit comments