Commit 972a8ce
authored
Rollup merge of rust-lang#59366 - ehuss:update-books, r=QuietMisdreavus
Update books
Update reference, book, rust-by-example, edition-guide, embedded-book
## reference
15 commits in 41493ff..27ad493
2019-03-05 12:32:22 +0100 to 2019-03-26 02:06:15 +0100
- Document wasm_import_module for #[link]. (rust-lang/reference#554)
- Fix tidy error. (rust-lang/reference#552)
- Some minor contributing updates. (rust-lang/reference#551)
- Document `type_length_limit`. (rust-lang/reference#546)
- Add some terms to the glossary. (rust-lang/reference#547)
- Document `target_feature` and `cfg_target_feature`. (rust-lang/reference#545)
- Remove undocumented page (rust-lang/reference#539)
- Reorg and update attributes (rust-lang/reference#537)
- Fix some minor link errors. (rust-lang/reference#538)
- Add linkchecker. (rust-lang/reference#521)
- Expand docs on Macros By Example. (rust-lang/reference#511)
- document #[panic_handler] (rust-lang/reference#362)
- document #[used] (rust-lang/reference#361)
- Note that UB is program-global (rust-lang/reference#490)
- Fix copy-paste error in procedural-macros.md (rust-lang/reference#533)
## book
16 commits in 9cffbeabec3bcec42d09432bfe7705125c848889..b93ec30bbc7b1b5c2f44223249ab359bed2ed5a6
2019-03-02 08:22:41 -0500 to 2019-03-26 16:54:10 -0400
- Unignore example that now compiles
- Fix code snippet (rust-lang/book#1863)
- Fix mdbook link text in readme (rust-lang/book#1881)
- Wrap to 80 cols
- Make sentence more complete (rust-lang/book#1885)
- consistenly use increment and decrement (rust-lang/book#1884)
- Fix link to Reference's conditional-compilation. (rust-lang/book#1878)
- Fix subject/verb agreement
- Remove nostarch snapshot files that have been incorporated and checked
- haha teach the dictionary steve's name
- Add authorship info to the front page
- fix accidental <ol>'s (rust-lang/book#1866)
- Edits to Macros (rust-lang/book#1848)
- Mention `lock` returns `MutexGuard` wrapped in a `LockResult`
- Add an example that illustrates NLL (rust-lang/book#1842)
- change the parameter name from `type` to `kind` (rust-lang/book#1845)
## rust-by-example
33 commits in 2ce92beabb912d417a7314d6da83ac9b50dc2afb..f68ef3d0f4959f6a7d92a08d9994b117f0f4d32d
2018-11-20 10:10:23 -0500 to 2019-03-12 15:32:12 -0300
- Fix some broken links. (rust-lang/rust-by-example#1161)
- Update links in README (rust-lang/rust-by-example#1167)
- Add score/lifetimes/trait.md (rust-lang/rust-by-example#1168)
- Fix rust-lang/rust-by-example#1147 - No more `open_mode` method (rust-lang/rust-by-example#1164)
- Fix for loop description in list print example (rust-lang/rust-by-example#1162)
- Add link to Cargo chapter in the index page (rust-lang/rust-by-example#1159)
- Fix grammar in sentence about integer notation (rust-lang/rust-by-example#1157)
- Do not use deprecated functions from `std::error::Error` trait (rust-lang/rust-by-example#1151)
- Update new_types.md to clarify conversion to base type (rust-lang/rust-by-example#1148)
- Fix compatibility with Rust 2018 (rust-lang/rust-by-example#1150)
- Hello: Fix hint link in `fmt` chapter. (rust-lang/rust-by-example#1146)
- Clarify pub(restricted) example a bit (rust-lang/rust-by-example#1133)
- Add "literal" to list of macro designators (rust-lang/rust-by-example#1153)
- Minor fixes for the macros chapter (rust-lang/rust-by-example#1113)
- Use new book links instead of the old second-edition ones (rust-lang/rust-by-example#1143)
- Recommend implementing Display over ToString (rust-lang/rust-by-example#1145)
- Remove unused import and format with `rustfmt` (rust-lang/rust-by-example#1144)
- fix typo (rust-lang/rust-by-example#1142)
- Update syntax for 2018 Edition (rust-lang/rust-by-example#1136)
- Added two missing full stops (rust-lang/rust-by-example#1138)
- Removed unnecessary spaces before macro designators in macros/dry (rust-lang/rust-by-example#1139)
- fix install mdbook command (rust-lang/rust-by-example#1128)
- Changed word `function` to `type` in comment of fn area (rust-lang/rust-by-example#1132)
- Added two missing backticks in generics/multi_bounds (rust-lang/rust-by-example#1129)
- Fixed small logic error in error/option_unwrap/and_then (rust-lang/rust-by-example#1127)
- Fix typo (rust-lang/rust-by-example#1125)
- The code of conduct link was dead. I fixed it. (rust-lang/rust-by-example#1122)
- I added a space in the Display fmt for Complex (rust-lang/rust-by-example#1123)
- Fix Rust install link in the index (rust-lang/rust-by-example#1124)
- Update cargo conventions section (rust-lang/rust-by-example#1121)
- Fixed curly braces in the `To and from Strings` chapter to be parentheses (rust-lang/rust-by-example#1120)
- Edit a typo (rust-lang/rust-by-example#1119)
- Fixes rust-lang/rust-by-example#1115 by correcting the typo from into_iterator to into_iter (rust-lang/rust-by-example#1118)
## edition-guide
1 commits in aa0022c875907886cae8f3ef8e9ebf6e2a5e728d..b56ddb11548450a6df4edd1ed571b2bc304eb9e6
2019-02-27 22:10:39 -0800 to 2019-03-10 10:23:16 +0100
- Links fixes (rust-lang/edition-guide#133)
## embedded-book
6 commits in 9e656ead82bfe869493dec82653a52e27fa6a05c..07fd3880ea0874d82b1d9ed30ad3427ec98b4e8a
2019-03-03 16:03:26 +0000 to 2019-03-27 15:40:52 +0000
- Fix test errors. (rust-embedded/book#180)
- Update qemu.md (rust-embedded/book#170)
- Update no-std.md to remove obsolete FAQ link (rust-embedded/book#177)
- We've come a long way :) (rust-embedded/book#176)
- Correct link to team (rust-embedded/book#175)
- Update some book links to their new homes. (rust-embedded/book#173)File tree
10 files changed
+15
-9
lines changed- src
- bootstrap
- ci/docker/x86_64-gnu-tools
- doc
- unstable-book/src/language-features
- tools
10 files changed
+15
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
402 | 402 | | |
403 | 403 | | |
404 | 404 | | |
| 405 | + | |
405 | 406 | | |
406 | 407 | | |
407 | 408 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1425 | 1425 | | |
1426 | 1426 | | |
1427 | 1427 | | |
| 1428 | + | |
1428 | 1429 | | |
1429 | 1430 | | |
1430 | 1431 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
| 77 | + | |
76 | 78 | | |
77 | 79 | | |
78 | 80 | | |
| |||
- README.md+1-1
- ci/dictionary.txt+2
- nostarch/chapter03-integer-overflow-box.md-23
- nostarch/chapter03-new-array-text.md-26
- nostarch/chapter03-returning-values-from-loops.md-35
- nostarch/chapter04-error-message-updates.md-52
- nostarch/chapter04-stack-heap-box-edits.md-32
- nostarch/chapter19.md+131-188
- nostarch/docx/chapter03-integer-overflow-box.docx
- nostarch/docx/chapter03-new-array-text.docx
- nostarch/docx/chapter03-returning-values-from-loops.docx
- nostarch/docx/chapter04-error-message-updates.docx
- nostarch/docx/chapter04-stack-heap-box-edits.docx
- nostarch/docx/chapter19.docx
- redirects/conditional-compilation.md+2-2
- src/ch03-02-data-types.md+3-3
- src/ch03-05-control-flow.md+2-2
- src/ch04-02-references-and-borrowing.md+29-4
- src/ch06-01-defining-an-enum.md+2-2
- src/ch12-00-an-io-project.md+3-3
- src/ch12-01-accepting-command-line-arguments.md+2-2
- src/ch16-03-shared-state.md+8-7
- src/ch19-04-advanced-types.md+2-2
- src/ch19-05-advanced-functions-and-closures.md+2-2
- src/ch19-06-macros.md+177-165
- src/title-page.md+2
Submodule edition-guide updated from aa0022c to b56ddb1
Submodule embedded-book updated 15 files
- README.md+3-3
- ci/script.sh+1
- src/c-tips/index.md+5-5
- src/collections/index.md+2-2
- src/concurrency/index.md+7-7
- src/interoperability/c-with-rust.md+1-1
- src/intro/index.md+3-3
- src/intro/no-std.md-1
- src/peripherals/singletons.md+5-5
- src/start/exceptions.md+2-2
- src/start/hardware.md+1-1
- src/start/panicking.md+1-1
- src/start/qemu.md+147-143
- src/start/registers.md+2-2
- src/start/semihosting.md+3-3
Submodule reference updated from 41493ff to 27ad493
Submodule rust-by-example updated 41 files
- CONTRIBUTING.md+1-1
- README.md+8-5
- src/SUMMARY.md+1
- src/cargo/conventions.md+1-1
- src/cargo/test.md+1-1
- src/conversion/string.md+12-8
- src/custom_types/enum/enum_use.md+2-2
- src/custom_types/enum/testcase_linked_list.md+1-1
- src/error.md+1-1
- src/error/multiple_error_types/boxing_errors.md+8-7
- src/error/multiple_error_types/define_error_type.md+11-14
- src/error/multiple_error_types/wrap_error.md+1-9
- src/error/option_unwrap/and_then.md+4-4
- src/flow_control/for.md+1-1
- src/flow_control/match/destructuring/destructure_pointers.md+2-2
- src/generics/assoc_items/the_problem.md+1-1
- src/generics/bounds.md+1-1
- src/generics/multi_bounds.md+2-2
- src/generics/new_types.md+10
- src/hello/print.md+6-1
- src/hello/print/fmt.md+2-2
- src/hello/print/print_display.md+1-1
- src/hello/print/print_display/testcase_list.md+1-1
- src/index.md+3-1
- src/macros/designators.md+1
- src/macros/dry.md+3-3
- src/macros/dsl.md+3
- src/mod/super.md+2-2
- src/mod/use.md+2-2
- src/mod/visibility.md+14-3
- src/primitives/literals.md+1-1
- src/scope/lifetime/elision.md+1-1
- src/scope/lifetime/trait.md+33
- src/std_misc/file/create.md+8-12
- src/std_misc/threads/testcase_mapreduce.md+2-2
- src/testing.md+1-1
- src/testing/doc_testing.md+1-1
- src/trait/derive.md+2-2
- src/trait/iter.md+1-1
- src/trait/ops.md+1-1
- src/unsafe.md+1-1
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
| 133 | + | |
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
| 177 | + | |
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| |||
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
256 | | - | |
| 256 | + | |
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| 42 | + | |
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
| |||
0 commit comments