File tree
19 files changed
+523
-32
lines changed- compiler
- rustc_borrowck/src/diagnostics
- rustc_hir_typeck/src/fn_ctxt
- rustc_trait_selection/src/error_reporting/traits
- library/core/src/num
- src/doc
- tests
- crashes
- ui
- borrowck
- methods
- mismatched_types
- rfcs/rfc-2361-dbg-macro
19 files changed
+523
-32
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 |
| - | |
| 7 | + | |
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
| 19 | + | |
19 | 20 |
| |
20 | 21 |
| |
21 | 22 |
| |
| |||
546 | 547 |
| |
547 | 548 |
| |
548 | 549 |
| |
549 |
| - | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
550 | 558 |
| |
551 | 559 |
| |
552 | 560 |
| |
| |||
561 | 569 |
| |
562 | 570 |
| |
563 | 571 |
| |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
564 | 625 |
| |
565 | 626 |
| |
566 | 627 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
948 | 948 |
| |
949 | 949 |
| |
950 | 950 |
| |
| 951 | + | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
951 | 962 |
| |
952 | 963 |
| |
953 | 964 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1429 | 1429 |
| |
1430 | 1430 |
| |
1431 | 1431 |
| |
| 1432 | + | |
| 1433 | + | |
| 1434 | + | |
| 1435 | + | |
| 1436 | + | |
| 1437 | + | |
| 1438 | + | |
| 1439 | + | |
| 1440 | + | |
| 1441 | + | |
| 1442 | + | |
| 1443 | + | |
| 1444 | + | |
| 1445 | + | |
| 1446 | + | |
| 1447 | + | |
| 1448 | + | |
| 1449 | + | |
| 1450 | + | |
| 1451 | + | |
| 1452 | + | |
| 1453 | + | |
| 1454 | + | |
| 1455 | + | |
| 1456 | + | |
| 1457 | + | |
| 1458 | + | |
| 1459 | + | |
| 1460 | + | |
| 1461 | + | |
| 1462 | + | |
| 1463 | + | |
| 1464 | + | |
| 1465 | + | |
| 1466 | + | |
| 1467 | + | |
| 1468 | + | |
| 1469 | + | |
| 1470 | + | |
| 1471 | + | |
| 1472 | + | |
| 1473 | + | |
| 1474 | + | |
| 1475 | + | |
| 1476 | + | |
| 1477 | + | |
| 1478 | + | |
| 1479 | + | |
| 1480 | + | |
| 1481 | + | |
| 1482 | + | |
| 1483 | + | |
| 1484 | + | |
| 1485 | + | |
| 1486 | + | |
| 1487 | + | |
| 1488 | + | |
| 1489 | + | |
| 1490 | + | |
| 1491 | + | |
| 1492 | + | |
| 1493 | + | |
| 1494 | + | |
| 1495 | + | |
| 1496 | + | |
| 1497 | + | |
| 1498 | + | |
| 1499 | + | |
1432 | 1500 |
| |
1433 | 1501 |
| |
1434 | 1502 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3810 | 3810 |
| |
3811 | 3811 |
| |
3812 | 3812 |
| |
| 3813 | + | |
3813 | 3814 |
| |
3814 | 3815 |
| |
3815 | 3816 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
170 | 170 |
| |
171 | 171 |
| |
172 | 172 |
| |
173 |
| - | |
| 173 | + | |
174 | 174 |
| |
175 | 175 |
| |
176 | 176 |
| |
177 | 177 |
| |
178 | 178 |
| |
179 | 179 |
| |
180 | 180 |
| |
181 |
| - | |
| 181 | + | |
182 | 182 |
| |
183 | 183 |
| |
184 | 184 |
| |
| |||
194 | 194 |
| |
195 | 195 |
| |
196 | 196 |
| |
197 |
| - | |
| 197 | + | |
198 | 198 |
| |
199 | 199 |
| |
200 | 200 |
| |
|
- .github/workflows/main.yml+4-4
- book.toml+3
- ci/dictionary.txt+1
- listings/ch02-guessing-game-tutorial/listing-02-04/output.txt+1-1
- listings/ch06-enums-and-pattern-matching/no-listing-07-cant-use-option-directly/output.txt+2-2
- listings/ch06-enums-and-pattern-matching/no-listing-10-non-exhaustive-match/output.txt+2-2
- listings/ch10-generic-types-traits-and-lifetimes/listing-10-20/output.txt+1-19
- listings/ch11-writing-automated-tests/listing-11-03/src/lib.rs+1-3
- listings/ch11-writing-automated-tests/listing-11-05/src/lib.rs-2
- listings/ch11-writing-automated-tests/listing-11-07/src/lib.rs+3-2
- listings/ch11-writing-automated-tests/listing-11-10/output.txt+2-2
- listings/ch11-writing-automated-tests/listing-11-10/src/lib.rs+2-2
- listings/ch11-writing-automated-tests/listing-11-11/src/lib.rs+7-4
- listings/ch11-writing-automated-tests/listing-11-12/src/lib.rs+5-4
- listings/ch11-writing-automated-tests/listing-11-13/src/lib.rs+5-4
- listings/ch11-writing-automated-tests/listing-11-13/tests/integration_test.rs+2-1
- listings/ch11-writing-automated-tests/no-listing-04-bug-in-add-two/output.txt+1
- listings/ch11-writing-automated-tests/no-listing-04-bug-in-add-two/src/lib.rs+3-2
- listings/ch11-writing-automated-tests/no-listing-07-custom-failure-message/src/lib.rs+1-2
- listings/ch11-writing-automated-tests/no-listing-10-result-in-tests/src/lib.rs+11-1
- listings/ch11-writing-automated-tests/no-listing-11-ignore-a-test/output.txt+2-2
- listings/ch11-writing-automated-tests/no-listing-11-ignore-a-test/src/lib.rs+19-7
- listings/ch11-writing-automated-tests/no-listing-12-shared-test-code-problem/src/lib.rs+5-4
- listings/ch11-writing-automated-tests/no-listing-12-shared-test-code-problem/tests/integration_test.rs+3-2
- listings/ch11-writing-automated-tests/no-listing-13-fix-shared-test-code-problem/src/lib.rs+5-4
- listings/ch11-writing-automated-tests/no-listing-13-fix-shared-test-code-problem/tests/integration_test.rs+4-2
- listings/ch11-writing-automated-tests/output-only-05-single-integration/src/lib.rs+5-4
- listings/ch11-writing-automated-tests/output-only-05-single-integration/tests/integration_test.rs+3-2
- listings/ch13-functional-features/listing-13-04/output.txt+2
- listings/ch13-functional-features/listing-13-05/output.txt+2
- listings/ch13-functional-features/listing-13-08/output.txt+5
- listings/ch15-smart-pointers/listing-15-21/output.txt+7-3
- listings/ch16-fearless-concurrency/listing-16-09/output.txt-4
- listings/ch16-fearless-concurrency/listing-16-13/output.txt+10
- listings/ch16-fearless-concurrency/listing-16-14/output.txt+1-1
- listings/ch19-advanced-features/listing-19-05/output.txt+2
- listings/ch20-web-server/listing-20-17/output.txt+6
- listings/ch20-web-server/listing-20-22/output.txt+1-1
- listings/ch20-web-server/no-listing-04-update-worker-definition/output.txt+1-1
- nostarch/chapter11.md+531-358
- packages/tools/src/bin/link2print.rs+5-1
- rust-toolchain+1-1
- src/ch11-00-testing.md+6-5
- src/ch11-01-writing-tests.md+52-43
- src/ch11-02-running-tests.md+14-14
- src/ch11-03-test-organization.md+26-31
- src/title-page.md+1-1
Submodule embedded-book updated 1 file
- .github/workflows/main.yml+16-1
- CONTRIBUTING.md+5-5
- README.md+7
- STYLE.md+2-68
- book.toml+3
- docs/authoring.md+148
- src/attributes.md+45-45
- src/attributes/codegen.md+94-94
- src/attributes/debugger.md+3-3
- src/attributes/diagnostics.md+9-9
- src/attributes/limits.md+5-1
- src/behavior-considered-undefined.md+10-6
- src/inline-assembly.md+4-2
- src/items/constant-items.md+2-2
- src/items/external-blocks.md+6-4
- src/items/functions.md+5-4
- src/linkage.md+7-2
- src/macros-by-example.md+3-3
- src/names.md+6-6
- src/names/namespaces.md+1-1
- src/names/preludes.md+5-5
- src/tokens.md+1-1
- src/types.md+4-4
- style-check/Cargo.lock+21-12
- style-check/Cargo.toml+1-1
- style-check/src/main.rs+10-1
- theme/reference.css+166
This file was deleted.
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + |
0 commit comments