Commit Graph

5096 Commits

Author SHA1 Message Date
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
Chris Krycho 2ba7c530aa
Merge pull request #3616 from ChrisDenton/msvc
Update MSVC instructions
2024-04-09 09:55:45 -06:00
Chris Krycho 8179f7543d Ch. 16: fix a grammar issue
Fixes #3664
2024-04-09 09:36:49 -06:00
Chris Krycho 058fc3ac78
Merge pull request #3546 from zica87/patch-1
Replace RLS with rust-analyzer in ch00
2024-04-08 14:36:26 -06:00
Chris Krycho 050b394303
Merge pull request #3570 from glasser/patch-1
Fix em dashes
2024-04-08 14:24:38 -06:00
Chris Krycho dacef10f91
Merge pull request #3880 from kadiwa4/revert_3711
Revert #3711
2024-04-08 14:17:23 -06:00
Chris Krycho 60c3a5f623
Merge pull request #3631 from metalalive/update-example
Procedure Macro: Update dependencies
2024-04-08 14:14:25 -06:00
Chris Krycho 74b9dd2cb6
Use explicit 2.0, not latest, for syn docs link 2024-04-08 14:10:50 -06:00
Kalle Wachsmuth 8355b06c77
Revert "Merge pull request #3711 from miketon/main"
This reverts commit 529b9e0d1a, reversing
changes made to d1770c8bdf.
2024-04-08 22:02:32 +02:00
Chris Krycho d0fa76d871
Merge pull request #3642 from Smeagol2069/patch-1
Parity with rustup's help
2024-04-08 13:37:53 -06:00
Chris Krycho 9209f5e010
Merge pull request #3877 from seishun/patch-1
Fix confusing sentence
2024-04-08 13:34:55 -06:00
Chris Krycho ff58b969cc
Merge pull request #3879 from rust-lang/push-lxxrzyyuxszl
Ch. 7: add a note about the need for `pub` in one more place
2024-04-08 13:34:07 -06:00
Chris Krycho 3dd1e24614 Ch. 7: add a note about the need for `pub` in one more place
Fixes #3447
2024-04-08 13:28:29 -06:00
Chris Krycho 3131aa4642
Merge pull request #3878 from rust-lang/push-ymnzrsytwntu
Correct the description of Listing 5-6
2024-04-05 16:09:59 -06:00
Chris Krycho 3e96c36763 Correct the description of Listing 5-6
It used to have the inverse of what it was actually doing!

Fixes #3488
2024-04-05 16:06:30 -06:00
Nikolai Vavilov 83fb659d7b
Fix confusing sentence 2024-04-05 21:46:04 +03:00
Chris Krycho ca38b939e4
Merge pull request #3790 from Blatko1/main
Minor text improvements
2024-04-04 19:22:32 -06:00
Chris Krycho 442eda7f98
Merge pull request #3857 from Chris-T-Jansen/ch20-full-code-update
Update full code reference main.rs in ch20-03
2024-04-04 17:15:41 -06:00
Blatko1 4229b32898
reverted all the changes but one 2024-04-04 19:10:49 +02:00
Christian Jansen 3bff679476
Merge branch 'rust-lang:main' into ch20-full-code-update 2024-04-03 17:12:48 -04:00
Chris Jansen a14b54050c Updated listings based on `listing-20-24`
Updated `main.rs` in both `listing-20-25` and `no-listing-07-final-code` based on `listing-20-24`
2024-04-03 17:12:03 -04:00
Chris Krycho c64ca0d7bc
Merge pull request #3876 from rust-lang/chriskrycho/note-text
Make Note text in ch. 20 consistent with other notes
2024-04-03 13:56:33 -06:00
Chris Krycho 204c6c40fd Make Note text in ch. 20 consistent with other notes 2024-04-03 13:44:25 -06:00