File tree
29 files changed
+187
-59
lines changed- compiler
- rustc_error_codes/src
- error_codes
- rustc_interface/src
- rustc_lexer/src
- rustc_middle/src
- middle
- mir/interpret
- rustc_mir/src/const_eval
- rustc_session/src
- rustc_typeck/src/astconv
- library
- core/src
- std
- src/sys/unix
- os
- process
- src
- doc
- unstable-book/src/compiler-flags
- test/ui
- async-await
- issues
- stability-attribute
- tools
29 files changed
+187
-59
lines changed+4-4
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1880 | 1880 |
| |
1881 | 1881 |
| |
1882 | 1882 |
| |
1883 |
| - | |
| 1883 | + | |
1884 | 1884 |
| |
1885 |
| - | |
| 1885 | + | |
1886 | 1886 |
| |
1887 | 1887 |
| |
1888 | 1888 |
| |
| |||
5409 | 5409 |
| |
5410 | 5410 |
| |
5411 | 5411 |
| |
5412 |
| - | |
| 5412 | + | |
5413 | 5413 |
| |
5414 |
| - | |
| 5414 | + | |
5415 | 5415 |
| |
5416 | 5416 |
| |
5417 | 5417 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
287 | 287 |
| |
288 | 288 |
| |
289 | 289 |
| |
| 290 | + | |
290 | 291 |
| |
291 | 292 |
| |
292 | 293 |
| |
| |||
610 | 611 |
| |
611 | 612 |
| |
612 | 613 |
| |
613 |
| - | |
614 | 614 |
| |
615 | 615 |
| |
616 | 616 |
| |
|
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 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
735 | 735 |
| |
736 | 736 |
| |
737 | 737 |
| |
| 738 | + | |
738 | 739 |
| |
739 | 740 |
| |
740 | 741 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
273 | 273 |
| |
274 | 274 |
| |
275 | 275 |
| |
276 |
| - | |
277 |
| - | |
278 |
| - | |
279 |
| - | |
280 |
| - | |
| 276 | + | |
281 | 277 |
| |
282 | 278 |
| |
283 | 279 |
| |
284 | 280 |
| |
285 | 281 |
| |
286 | 282 |
| |
287 |
| - | |
288 |
| - | |
289 |
| - | |
290 |
| - | |
291 |
| - | |
292 |
| - | |
293 |
| - | |
| 283 | + | |
294 | 284 |
| |
295 | 285 |
| |
296 | 286 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
24 |
| - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
25 | 30 |
| |
26 | 31 |
| |
27 | 32 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
402 | 402 |
| |
403 | 403 |
| |
404 | 404 |
| |
405 |
| - | |
406 |
| - | |
407 | 405 |
| |
408 | 406 |
| |
409 | 407 |
| |
| |||
421 | 419 |
| |
422 | 420 |
| |
423 | 421 |
| |
424 |
| - | |
425 | 422 |
| |
426 | 423 |
| |
427 | 424 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
212 | 212 |
| |
213 | 213 |
| |
214 | 214 |
| |
215 |
| - | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
216 | 218 |
| |
217 | 219 |
| |
218 | 220 |
| |
| |||
247 | 249 |
| |
248 | 250 |
| |
249 | 251 |
| |
250 |
| - | |
251 |
| - | |
252 |
| - | |
253 |
| - | |
254 |
| - | |
255 |
| - | |
256 |
| - | |
257 |
| - | |
258 |
| - | |
259 |
| - | |
260 |
| - | |
261 |
| - | |
262 |
| - | |
263 |
| - | |
| 252 | + | |
264 | 253 |
| |
265 | 254 |
| |
266 | 255 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1148 | 1148 |
| |
1149 | 1149 |
| |
1150 | 1150 |
| |
| 1151 | + | |
| 1152 | + | |
1151 | 1153 |
| |
1152 | 1154 |
| |
1153 | 1155 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
24 |
| - | |
| 24 | + | |
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
| |||
488 | 488 |
| |
489 | 489 |
| |
490 | 490 |
| |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
491 | 499 |
| |
492 | 500 |
| |
493 | 501 |
| |
494 | 502 |
| |
495 | 503 |
| |
496 |
| - | |
| 504 | + | |
497 | 505 |
| |
498 | 506 |
| |
499 | 507 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
583 | 583 |
| |
584 | 584 |
| |
585 | 585 |
| |
586 |
| - | |
| 586 | + | |
587 | 587 |
| |
588 | 588 |
| |
589 | 589 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
19 |
| - | |
| 19 | + | |
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
350 | 350 |
| |
351 | 351 |
| |
352 | 352 |
| |
353 |
| - | |
354 |
| - | |
355 |
| - | |
356 | 353 |
| |
357 | 354 |
| |
358 |
| - | |
| 355 | + | |
359 | 356 |
| |
360 | 357 |
| |
361 | 358 |
| |
362 | 359 |
| |
363 |
| - | |
| 360 | + | |
364 | 361 |
| |
365 | 362 |
| |
366 | 363 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
| 4 | + | |
4 | 5 |
| |
5 | 6 |
| |
6 | 7 |
| |
7 | 8 |
| |
8 | 9 |
| |
9 | 10 |
| |
| 11 | + | |
10 | 12 |
| |
11 | 13 |
| |
12 | 14 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
50 | 50 |
| |
51 | 51 |
| |
52 | 52 |
| |
53 |
| - | |
| 53 | + | |
54 | 54 |
| |
55 | 55 |
| |
56 | 56 |
| |
|
- .github/ISSUE_TEMPLATE/bug_report.md+13
- .github/ISSUE_TEMPLATE/new_translation.md+7
- .github/workflows/main.yml+2-2
- CONTRIBUTING.md+13-7
- README.md+12
- listings/ch03-common-programming-concepts/listing-03-05/src/main.rs+1-1
- listings/ch03-common-programming-concepts/no-listing-01-variables-are-immutable/output.txt+1-1
- listings/ch03-common-programming-concepts/no-listing-03-shadowing/output.txt+2-1
- listings/ch03-common-programming-concepts/no-listing-03-shadowing/src/main.rs+4-1
- listings/ch03-common-programming-concepts/no-listing-07-numeric-operations/src/main.rs+1
- listings/ch03-common-programming-concepts/no-listing-18-functions-with-multiple-parameters/output.txt+1-2
- listings/ch03-common-programming-concepts/no-listing-18-functions-with-multiple-parameters/src/main.rs+3-4
- listings/ch03-common-programming-concepts/no-listing-32-5-loop-labels/Cargo.lock+5
- listings/ch03-common-programming-concepts/no-listing-32-5-loop-labels/Cargo.toml+6
- listings/ch03-common-programming-concepts/no-listing-32-5-loop-labels/output.txt+12
- listings/ch03-common-programming-concepts/no-listing-32-5-loop-labels/src/main.rs+21
- listings/ch04-understanding-ownership/listing-04-04/src/main.rs+4-4
- listings/ch04-understanding-ownership/listing-04-09/src/main.rs+2-2
- listings/ch11-writing-automated-tests/no-listing-11-ignore-a-test/output.txt+1-1
- listings/ch12-an-io-project/listing-12-16/output.txt+1-1
- listings/ch12-an-io-project/listing-12-19/output.txt+2-2
- listings/ch12-an-io-project/listing-12-21/output.txt+2-2
- listings/ch13-functional-features/no-listing-01-failing-cacher-test/output.txt+1-1
- listings/ch15-smart-pointers/listing-15-23/output.txt+1-1
- nostarch/chapter03.md+1.7k
- nostarch/chapter04.md+1.3k
- rust-toolchain+1-1
- src/ch01-01-installation.md+4-2
- src/ch03-00-common-programming-concepts.md+1-1
- src/ch03-01-variables-and-mutability.md+32-22
- src/ch03-02-data-types.md+24-15
- src/ch03-03-how-functions-work.md+12-12
- src/ch03-05-control-flow.md+29-6
- src/ch04-01-what-is-ownership.md+19-16
- src/ch04-02-references-and-borrowing.md+32-19
- src/ch04-03-slices.md+10-7
- src/ch05-01-defining-structs.md+13-9
- src/ch06-02-match.md+6-5
- src/title-page.md+1-1
- src/destructors.md+4-3
- src/dynamically-sized-types.md+1-1
- src/expressions.md+2-2
- src/expressions/loop-expr.md+1-1
- src/expressions/method-call-expr.md+1-1
- src/glossary.md+1-1
- src/identifiers.md+46-16
- src/items/extern-crates.md+1-1
- src/items/external-blocks.md+1-1
- src/items/functions.md+1-1
- src/items/implementations.md+3-3
- src/items/modules.md+1-1
- src/lifetime-elision.md+1-1
- src/names/preludes.md+1-1
- src/types/closure.md+1-1
- src/types/slice.md+5-6
- src/types/tuple.md+1-1
Submodule rust-by-example updated 1 file
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 |
| - | |
| 2 | + | |
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
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 |
| - | |
| 32 | + | |
33 | 33 |
| |
34 | 34 |
| |
35 | 35 |
| |
|
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 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 |
| - | |
| 3 | + | |
4 | 4 |
| |
5 | 5 |
| |
| 6 | + | |
| 7 | + | |
6 | 8 |
| |
7 | 9 |
| |
8 | 10 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + |
0 commit comments