Commit dbec74f
committed
Auto merge of rust-lang#61948 - ehuss:update-mdbook, r=steveklabnik
Update mdbook
This updates to mdbook 0.3.0. This release includes the following changes:
https://github.com/rust-lang-nursery/mdBook/blob/master/CHANGELOG.md#mdbook-030
One of the biggest changes is the update to pulldown-cmark.
This also bumps the submodules (except the nomicon which has some broken links).
## reference
6 commits in f8ae436..08ae27a
2019-05-31 14:59:12 +0200 to 2019-06-17 11:24:13 -0700
- Document `underscore_const_names` (rust-lang/reference#620)
- Describe `#[repr(align(x))]` semantics on `enum`s (rust-lang/reference#619)
- Fix typo in lazy_static example. (rust-lang/reference#622)
- Rust 2015 supports Kleene ? macro operator (rust-lang/reference#617)
- Bitrig support has been removed (rust-lang/reference#615)
- Fix spell error in attributes/diagnostics.md (rust-lang/reference#614)
## book
8 commits in 62a8c6f25fbd981c80a046f3b04be9684749af3b..9aacfcc4c5b102c8cda195932addefd32fe955d2
2019-05-28 15:48:23 -0400 to 2019-06-16 21:27:26 -0400
- Add a script to help diff rendered books
- Update mdbook links (rust-lang/book#1989)
- Update for markdown changes. (rust-lang/book#1984)
- Make all mentions of crates.io consistent
- Propagate corrections made in layout
- Add link to Swedish translation
- Propagate small edits made in layout
- Remove snapshot files that have been checked with layout
## rust-by-example
3 commits in d8eec1dd65470b9a68e80ac1cba8fad0daac4916..b27472962986e85c94f4183b1a6d2207660d3ed6
2019-06-08 10:15:22 -0300 to 2019-06-17 15:52:07 -0300
- Update `macro_rules!` formatting. (rust-lang/rust-by-example#1205)
- Add Cargo comment to the `try!` macro example. (rust-lang/rust-by-example#1203)
- Fix typo (rust-lang/rust-by-example#1204)
## rustc-guide
15 commits in 3ac9cfc..f55e97c
2019-06-02 19:36:58 -0500 to 2019-06-15 17:29:12 -0500
- fix typos
- Update for TyCtxt<'a, 'gcx, 'tcx> -> TyCtxt<'tcx>.
- fix ci failures, typos, broken links
- Some edits to address review comments
- Notes about closure de-sugaring
- add note about rebuilding llvm
- Changes to config.toml require a clean
- Fix a few typos in type inference chapter
- Add triagebot (rust-lang/rustc-dev-guide#337)
- Update how-to-build-and-run.md
- Update how-to-build-and-run.md
- Update compiler-debugging.md
- use debug instead of debuginfo-level
- Replaced tabs with spaces
- correct indentation
## edition-guide
4 commits in 581c6cccfaf995394ea9dcac362dc8e731c18558..f8072acde5ce29c7570d7986180bbded2d22e287
2019-05-06 12:47:44 -0700 to 2019-06-14 23:27:05 +0200
- Small fixes (rust-lang/edition-guide#179)
- Cleanup unused NLL link (rust-lang/edition-guide#167)
- Part 2: Rust 2015 now supports ? macro rep op (rust-lang/edition-guide#163)
- Part 1: Rust 2015 now supports ? macro rep op (rust-lang/edition-guide#162)
## embedded-book
1 commits in f0c75b75f9c18537b78f5d17c1015247e9a49c86..ef27b517dcd0b990c888c0d7caeff52a5a115619
2019-06-03 10:49:02 +0000 to 2019-06-18 22:59:47 +0000
- Fix link for more strict commonmark interpretation. (rust-embedded/book#194)File tree
10 files changed
+144
-48
lines changed- src
- bootstrap
- doc
- tools/rustbook
- src
10 files changed
+144
-48
lines changedLarge diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | | - | |
66 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
199 | | - | |
| 199 | + | |
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
| |||
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
254 | | - | |
| 254 | + | |
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
| |||
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
264 | | - | |
| 264 | + | |
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
272 | | - | |
| 272 | + | |
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
280 | | - | |
| 280 | + | |
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
| |||
- CONTRIBUTING.md+1-1
- README.md+2-2
- ci/dictionary.txt+1
- nostarch/chapter18-destructuring-nested-structs-and-enums.md-54
- nostarch/chapter19-new-function-pointer-text.md-31
- nostarch/chapter19.md-579
- nostarch/docx/chapter18-destructuring-nested-structs-and-enums.docx
- nostarch/docx/chapter19-new-function-pointer-text.docx
- nostarch/docx/chapter19.docx
- src/appendix-02-operators.md+6-6
- src/appendix-03-derivable-traits.md+6-6
- src/appendix-04-useful-development-tools.md+5-5
- src/appendix-05-editions.md+1
- src/appendix-06-translation.md+1
- src/ch01-03-hello-cargo.md+4-4
- src/ch02-00-guessing-game-tutorial.md+5-5
- src/ch03-02-data-types.md+5-4
- src/ch03-05-control-flow.md+3-2
- src/ch07-00-managing-growing-projects-with-packages-crates-and-modules.md+13-14
- src/ch07-01-packages-and-crates.md+8-6
- src/ch07-02-defining-modules-to-control-scope-and-privacy.md+23-23
- src/ch07-03-paths-for-referring-to-an-item-in-the-module-tree.md+17-16
- src/ch07-04-bringing-paths-into-scope-with-the-use-keyword.md+10-10
- src/ch08-02-strings.md+1-1
- src/ch08-03-hash-maps.md+4-3
- src/ch09-01-unrecoverable-errors-with-panic.md+3-3
- src/ch10-02-traits.md+8-7
- src/ch10-03-lifetime-syntax.md+10-9
- src/ch11-01-writing-tests.md+8-8
- src/ch12-01-accepting-command-line-arguments.md+1-1
- src/ch12-03-improving-error-handling-and-modularity.md+9-8
- src/ch14-00-more-about-cargo.md+2-2
- src/ch14-02-publishing-to-crates-io.md+9-9
- src/ch14-03-cargo-workspaces.md+5-5
- src/ch14-04-installing-binaries.md+1-1
- src/ch14-05-extending-cargo.md+2-2
- src/ch16-04-extensible-concurrency-sync-and-send.md+2-2
- src/ch17-02-trait-objects.md+11-11
- src/ch18-01-all-the-places-for-patterns.md+8-7
- src/ch19-01-unsafe-rust.md+17-18
- src/ch19-03-advanced-traits.md+21-21
- src/ch19-04-advanced-types.md+8-8
- src/ch19-05-advanced-functions-and-closures.md+3-3
- src/ch19-06-macros.md+24-23
- src/ch20-00-final-project-a-web-server.md+3-2
- src/ch20-03-graceful-shutdown-and-cleanup.md+3-3
- tools/megadiff.sh+22
- tools/src/bin/link2print.rs+1
- tools/src/bin/remove_links.rs+2-2
Submodule edition-guide updated from 581c6cc to f8072ac
Submodule embedded-book updated 1 file
Submodule reference updated from f8ae436 to 08ae27a
Submodule rustc-guide updated from 3ac9cfc to f55e97c
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | | - | |
| 11 | + | |
| 12 | + | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
| 13 | + | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
| 51 | + | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
0 commit comments