Commit Graph
5068 Commits
Author SHA1 Message Date
Chris Krycho 8a79f3e15d Merge pull request #3287 from bravequickcleverfibreyarn/listing-12-02
ch12-03: `expect` is not used multitude times by this chapter
2024-04-19 13:36:49 -06:00
Chris Krycho 62516ee9e3 Merge pull request #3896 from nyurik/inline-fmt-arg
Inline format args to `tools/src`
2024-04-19 13:36:10 -06:00
Chris Krycho f3d9661aff Merge pull request #3290 from agotsis/closure-grammar
Improve awkward phrasing around the kinds of closures
2024-04-19 13:35:36 -06:00
Chris Krycho 54726034c5 Ch. 12.3: be clearer about how expect was used 2024-04-19 13:35:31 -06:00
Chris Krycho 8264d69aa6 Ch. 13: unwrap_or_else takes all three kinds of closures 2024-04-19 13:31:53 -06:00
Yuri Astrakhan c5211edeec Apply clippy::uninlined_format_args fix 2024-04-19 15:20:22 -04:00
Chris Krycho 0bcde15346 Merge pull request #3890 from rust-lang/push-vmxrspyskulq
Ch. 14: clarify workspace dependency reuse
2024-04-19 13:19:52 -06:00
Chris Krycho 50149d92e0 Merge pull request #3281 from thedumbsloth/function_name_fix_7.3
Edit on line no. 153. Replaced fn add_to_waitlist with fn eat_at_restaurant.
2024-04-19 13:12:00 -06:00
Chris Krycho 874d9a2131 Merge pull request #3895 from rust-lang/chriskrycho/vhb
Ch. 2: less ambiguity about numbers
2024-04-19 13:06:51 -06:00
Chris Krycho 523d960984 Merge main into chriskrycho/vhb 2024-04-19 13:02:06 -06:00
Chris Krycho 0729f34edc Ch. 2: Further simplify language about numbers 2024-04-19 12:56:58 -06:00
Chris Krycho f9d4e058a9 Merge pull request #3363 from vinsburg/patch-4
Clarified first slices paragraph
2024-04-19 12:51:38 -06:00
Chris Krycho 82df41e8bd Ch. 4: include link forward to collections
Remove the additional, extraneous info from the Ch. 4. section 3 intro.
2024-04-19 12:49:38 -06:00
Chris Krycho 162d540045 Merge pull request #3385 from nyurik/inlinefmt2
Inline all format arguments
2024-04-19 12:03:47 -06:00
Chris Krycho 6196a0ab45 Merge main into nyurik:inlinefmt2 2024-04-19 11:57:29 -06:00
Chris Krycho 96224742f3 Merge pull request #3048 from nyurik/format-ident
Use v1.58 captured ident formatting in examples
2024-04-19 11:49:12 -06:00
Chris Krycho f84626dbe0 Merge pull request #3894 from rust-lang/revert-3397-ch18-03-pattern-syntax.md
Revert "ch18-03: Guarded match arm exhaustivness clarification"
2024-04-18 16:34:49 -06:00
Chris Krycho d737e4db6b Revert "ch18-03: Guarded match arm exhaustivness clarification" 2024-04-18 16:14:25 -06:00
Chris Krycho 8e5e4ae8df Merge pull request #3893 from rust-lang/push-zwrsqqxunozz
Ch. 18: further clarify about irrefutable patterns
2024-04-18 14:00:38 -06:00
Chris Krycho 0b869eecc8 Ch. 18: further clarify about irrefutable patterns 2024-04-18 13:57:55 -06:00
Chris Krycho 976b2d812d Merge pull request #3381 from bravequickcleverfibreyarn/ch18-02-refutability.md
ch18-02: Minor corrections
2024-04-18 13:55:32 -06:00
Chris Krycho 6d8afd25f0 Merge pull request #3217 from frankplow/error-handling-uses
Make style of listings 9-7 and 9-8 consistent with 9-6
2024-04-18 13:44:41 -06:00
Chris Krycho 49157edbca Merge pull request #3397 from bravequickcleverfibreyarn/ch18-03-pattern-syntax.md
ch18-03: Guarded match arm exhaustivness clarification
2024-04-18 12:28:53 -06:00
Chris Krycho 18effd3176 Merge pull request #3284 from bravequickcleverfibreyarn/ch11-03-test-organization.md
ch11-03: Unnecessary import removal
2024-04-18 12:13:52 -06:00
Chris Krycho 076420ce20 Ch. 11: use scope tweak 2024-04-18 12:08:28 -06:00
Chris Krycho afe19ddb7e Merge pull request #3394 from MarijnRitzen/patch-3
Update ch20-01-single-threaded.md
2024-04-17 17:17:06 -06:00
Chris Krycho d68ddcc4d5 Ch. 20: shorter version of corrected listing 2024-04-17 17:16:59 -06:00
Chris Krycho 0eb2257923 Merge pull request #3418 from krishnakumarg1984/kg/add_appendixe_url
In Appendix D, adds hyperlink to Appendix E
2024-04-17 17:11:02 -06:00
Chris Krycho ba4b237a2f Merge pull request #3433 from SilkovAlexander/typo_to_trait
Chapter 13-03 fixed Iterator 'type' to 'trait'
2024-04-17 17:07:52 -06:00
Chris Krycho 343c507f78 Merge pull request #3534 from generalmimon/patch-1
Fix the expected substring in ch11-01
2024-04-17 16:20:03 -06:00
Chris Krycho efb99cdcae Merge pull request #3892 from rust-lang/chriskrycho/ch-17-compilation-clarification
Ch. 17: clarify 'in order to compile'
2024-04-17 16:15:52 -06:00
Chris Krycho 2320e43bfc Ch. 17: clarify 'in order to compile' 2024-04-17 16:06:12 -06:00
Chris Krycho d6adb1e276 Merge pull request #3891 from rust-lang/revert-3501-main
Revert "Chapter 15-05: Fix incorrect interpretation of compiler error"
2024-04-17 15:57:27 -06:00
Chris Krycho ceacd6d75f Revert "Chapter 15-05: Fix incorrect interpretation of compiler error" 2024-04-17 15:57:05 -06:00
Chris Krycho 3bc567ead6 Merge pull request #3501 from kingh0730/main
Chapter 15-05: Fix incorrect interpretation of compiler error
2024-04-17 15:57:02 -06:00
Chris Krycho 55599681b9 Merge pull request #3506 from schuelermine/fix/cargo-login-security
Remove direction to authenticate with `cargo login {API token}`
2024-04-17 15:52:05 -06:00
Chris Krycho e9a58e3c8e Ch. 14: remove extra text from cargo login code sample 2024-04-17 15:42:41 -06:00
Chris Krycho a15d78c963 Merge pull request #3888 from dtolnay-contrib/syn2
Update syn dependencies in Chapter 19 to 2.0
2024-04-17 12:36:48 -06:00
Chris Krycho 1221096717 Ch. 14: clarify workspace dependency reuse
Fixes #3141
2024-04-17 12:35:06 -06:00
Chris Krycho 7f2149c356 Merge pull request #3889 from rust-lang/chriskrycho/ch-3-break-vs-return
Chapter 3: Clarify `return` vs. `break`.
2024-04-17 12:03:43 -06:00
Chris Krycho 38831b8619 Chapter 3: Clarify return vs. break. 2024-04-16 14:35:53 -06:00
David Tolnay e81491c11e Update syn dependencies in Chapter 19 to 2.0 2024-04-15 11:24:35 -07:00
Petr Pucil e58f1cabce Fix "Display type" to "Display trait" in ch19-03 2024-04-11 16:49:51 -04:00
Chris Krycho 93293f01ac Merge pull request #3533 from jpearnshaw/patch-2
Update listings in ch 11-01 to reflect current output from cargo new
2024-04-10 13:23:34 -06:00
Chris Krycho a2c1496c9b Update src/ch11-01-writing-tests.md 2024-04-10 13:13:44 -06:00
Chris Krycho db29c74ab3 Merge pull request #3579 from generalmimon/patch-2
Fix "`test` module" to "`tests` module" in ch11-03
2024-04-10 12:57:45 -06:00
Chris Krycho e30d557aef Merge pull request #3882 from rust-lang/push-vokpwyslpuyy
Ch. 2: fix wording about `cargo update`
2024-04-10 12:55:18 -06:00
Chris Krycho 566589d52a Merge pull request #3648 from nlegrand/main
Remove hebrew niqqud in 8-14 String::from example
2024-04-10 12:52:01 -06:00
Chris Krycho df98a0d107 Ch. 2: fix wording about cargo update 2024-04-10 12:41:38 -06:00
Chris Krycho 4f0989bec7 Merge pull request #3881 from rust-lang/push-uyqqkmqzpqsq
Ch. 16: fix a grammar issue
2024-04-09 09:56:15 -06:00