File tree
35 files changed
+636
-525
lines changed- src
- doc
- libcore
- librustc
- traits
- codegen
- query
- specialize
- ty
- librustc_codegen_llvm
- back
- debuginfo
- llvm
- librustc_metadata
- librustc_mir/interpret
- librustc_target/spec
- librustc_typeck/check
- librustdoc
- libstd/sys/wasm
- rustllvm
- test/ui
- issues
- nll
35 files changed
+636
-525
lines changed+1-1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
301 | 301 |
| |
302 | 302 |
| |
303 | 303 |
| |
304 |
| - | |
| 304 | + | |
305 | 305 |
| |
306 | 306 |
| |
307 | 307 |
| |
|
- 2018-edition/book.toml+4
- 2018-edition/ferris.css+33
- 2018-edition/ferris.js+51
- 2018-edition/src/ch00-00-introduction.md+13-2
- 2018-edition/src/ch02-00-guessing-game-tutorial.md+1-1
- 2018-edition/src/ch03-01-variables-and-mutability.md+2-2
- 2018-edition/src/ch03-02-data-types.md+1-1
- 2018-edition/src/ch03-03-how-functions-work.md+2-2
- 2018-edition/src/ch03-05-control-flow.md+2-2
- 2018-edition/src/ch04-01-what-is-ownership.md+1-1
- 2018-edition/src/ch04-02-references-and-borrowing.md+4-4
- 2018-edition/src/ch04-03-slices.md+1-1
- 2018-edition/src/ch05-01-defining-structs.md+1-1
- 2018-edition/src/ch05-02-example-structs.md+1-1
- 2018-edition/src/ch06-01-defining-an-enum.md+1-1
- 2018-edition/src/ch06-02-match.md+1-1
- 2018-edition/src/ch07-01-mod-and-the-filesystem.md+1-1
- 2018-edition/src/ch07-02-controlling-visibility-with-pub.md+1-1
- 2018-edition/src/ch07-03-importing-names-with-use.md+1-1
- 2018-edition/src/ch08-01-vectors.md+2-2
- 2018-edition/src/ch08-02-strings.md+2-2
- 2018-edition/src/ch08-03-hash-maps.md+3-1
- 2018-edition/src/ch09-01-unrecoverable-errors-with-panic.md+2-2
- 2018-edition/src/ch09-02-recoverable-errors-with-result.md-1
- 2018-edition/src/ch09-03-to-panic-or-not-to-panic.md+1-1
- 2018-edition/src/ch10-01-syntax.md+2-2
- 2018-edition/src/ch10-02-traits.md+1-1
- 2018-edition/src/ch10-03-lifetime-syntax.md+5-5
- 2018-edition/src/ch11-01-writing-tests.md+6-6
- 2018-edition/src/ch11-02-running-tests.md+1-1
- 2018-edition/src/ch12-02-reading-a-file.md+1-1
- 2018-edition/src/ch13-01-closures.md+4-4
- 2018-edition/src/ch13-02-iterators.md+1-1
- 2018-edition/src/ch15-01-box.md+1-1
- 2018-edition/src/ch15-02-deref.md+1-1
- 2018-edition/src/ch15-03-drop.md+1-1
- 2018-edition/src/ch15-04-rc.md+1-1
- 2018-edition/src/ch15-05-interior-mutability.md+3-3
- 2018-edition/src/ch16-01-threads.md+2-2
- 2018-edition/src/ch16-02-message-passing.md+1-1
- 2018-edition/src/ch16-03-shared-state.md+3-3
- 2018-edition/src/ch17-02-trait-objects.md+2-2
- 2018-edition/src/ch18-01-all-the-places-for-patterns.md+1-1
- 2018-edition/src/ch18-02-refutability.md+2-2
- 2018-edition/src/ch18-03-pattern-syntax.md+2-2
- 2018-edition/src/ch19-01-unsafe-rust.md+8-8
- 2018-edition/src/ch19-02-advanced-lifetimes.md+4-4
- 2018-edition/src/ch19-03-advanced-traits.md+1-1
- 2018-edition/src/ch19-04-advanced-types.md+2-2
- 2018-edition/src/ch19-05-advanced-functions-and-closures.md+1-1
- 2018-edition/src/ch20-02-multithreaded.md+13-13
- 2018-edition/src/ch20-03-graceful-shutdown-and-cleanup.md+2-2
- 2018-edition/src/img/ferris/does_not_compile.svg+72
- 2018-edition/src/img/ferris/not_desired_behavior.svg+75
- 2018-edition/src/img/ferris/panics.svg+70
- 2018-edition/src/img/ferris/unsafe.svg+291
- second-edition/src/ch11-01-writing-tests.md+18-18
- second-edition/src/ch20-03-graceful-shutdown-and-cleanup.md+1-1
+120-1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
24 |
| - | |
| 24 | + | |
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
| |||
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
| 33 | + | |
33 | 34 |
| |
34 | 35 |
| |
35 | 36 |
| |
| |||
458 | 459 |
| |
459 | 460 |
| |
460 | 461 |
| |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
461 | 571 |
| |
462 | 572 |
| |
463 | 573 |
| |
| |||
501 | 611 |
| |
502 | 612 |
| |
503 | 613 |
| |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
504 | 623 |
| |
505 | 624 |
| |
506 | 625 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
112 | 112 |
| |
113 | 113 |
| |
114 | 114 |
| |
| 115 | + | |
115 | 116 |
| |
116 | 117 |
| |
117 | 118 |
| |
118 | 119 |
| |
119 | 120 |
| |
120 | 121 |
| |
121 | 122 |
| |
122 |
| - | |
| 123 | + | |
123 | 124 |
| |
124 |
| - | |
125 |
| - | |
| 125 | + | |
| 126 | + | |
126 | 127 |
| |
127 | 128 |
| |
128 | 129 |
| |
| |||
426 | 427 |
| |
427 | 428 |
| |
428 | 429 |
| |
| 430 | + | |
429 | 431 |
| |
430 | 432 |
| |
431 | 433 |
| |
| |||
489 | 491 |
| |
490 | 492 |
| |
491 | 493 |
| |
492 |
| - | |
493 |
| - | |
| 494 | + | |
| 495 | + | |
494 | 496 |
| |
495 |
| - | |
496 |
| - | |
497 |
| - | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
498 | 500 |
| |
499 | 501 |
| |
500 | 502 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
39 | 39 |
| |
40 | 40 |
| |
41 | 41 |
| |
42 |
| - | |
| 42 | + | |
43 | 43 |
| |
44 | 44 |
| |
45 | 45 |
| |
| |||
48 | 48 |
| |
49 | 49 |
| |
50 | 50 |
| |
51 |
| - | |
52 |
| - | |
| 51 | + | |
| 52 | + | |
53 | 53 |
| |
54 | 54 |
| |
55 | 55 |
| |
| |||
61 | 61 |
| |
62 | 62 |
| |
63 | 63 |
| |
64 |
| - | |
65 |
| - | |
| 64 | + | |
| 65 | + | |
66 | 66 |
| |
67 | 67 |
| |
68 |
| - | |
69 |
| - | |
| 68 | + | |
70 | 69 |
| |
71 | 70 |
| |
72 | 71 |
| |
| |||
163 | 162 |
| |
164 | 163 |
| |
165 | 164 |
| |
166 |
| - | |
167 |
| - | |
168 |
| - | |
169 |
| - | |
170 |
| - | |
171 |
| - | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
172 | 168 |
| |
173 | 169 |
| |
174 | 170 |
| |
175 | 171 |
| |
176 | 172 |
| |
177 |
| - | |
178 |
| - | |
179 |
| - | |
180 |
| - | |
181 |
| - | |
182 |
| - | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
183 | 176 |
| |
184 | 177 |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
115 | 115 |
| |
116 | 116 |
| |
117 | 117 |
| |
118 |
| - | |
119 |
| - | |
120 |
| - | |
| 118 | + | |
121 | 119 |
| |
122 | 120 |
| |
123 | 121 |
| |
| |||
133 | 131 |
| |
134 | 132 |
| |
135 | 133 |
| |
136 |
| - | |
137 |
| - | |
138 |
| - | |
139 |
| - | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
140 | 137 |
| |
141 | 138 |
| |
142 | 139 |
| |
| |||
164 | 161 |
| |
165 | 162 |
| |
166 | 163 |
| |
167 |
| - | |
| 164 | + | |
168 | 165 |
| |
169 | 166 |
| |
170 | 167 |
| |
| |||
471 | 468 |
| |
472 | 469 |
| |
473 | 470 |
| |
474 |
| - | |
| 471 | + | |
475 | 472 |
| |
476 |
| - | |
| 473 | + | |
477 | 474 |
| |
478 | 475 |
| |
479 |
| - | |
480 |
| - | |
481 |
| - | |
| 476 | + | |
482 | 477 |
| |
483 | 478 |
| |
484 | 479 |
| |
|
0 commit comments