Commit Graph

2702 Commits

Author SHA1 Message Date
Chris Krycho
3b96a4b7c6 Ch. 18: fix bad attribute on a <Listing> 2024-10-15 09:04:36 -06:00
Chris Krycho
9e85fcc993 Ch. 17: integrate early reader feedback 2024-10-15 08:02:26 -06:00
Chris Krycho
e03be6832a Merge pull request #3979 from SpectralPixel/listing-preprocessor-chapter-07
Convert Listings in Chapter 07 to `<Listing>`
2024-10-15 07:16:56 -06:00
Chris Krycho
1bfea4f78d Merge pull request #3981 from SpectralPixel/listing-preprocessor-chapter-08
Convert Listings in Chapter 08 to `<Listing>`
2024-10-15 07:16:40 -06:00
Chris Krycho
991e64cf1b Merge pull request #3978 from SpectralPixel/listing-preprocessor-chapter-10
Convert Listings in Chapter 10 to `<Listing>`
2024-10-15 07:16:25 -06:00
Chris Krycho
c5896494f8 Back out "Chapter 9 - Wrap all <Listing>s to comply with the virtual 80 character limit"
This backs out commit dd72f8fbc3.
2024-10-15 07:15:10 -06:00
Chris Krycho
8b443bcd9b Back out "Chapter 10 - Wrap all <Listing>s to comply with the virtual 80 character limit"
This backs out commit e82cd3fb2c.
2024-10-15 07:12:56 -06:00
Chris Krycho
d5a89d9db5 Back out "Chapter 7 - Wrap all <Listing>s to comply with the virtual 80 character limit"
This backs out commit c521d2d4e4.
2024-10-15 07:11:54 -06:00
Chris Krycho
8aab8a2115 Back out "Chapter 8 - Wrap all <Listing>s to comply with the virtual 80 character limit"
This backs out commit 2b3b9f5370.
2024-10-15 07:10:06 -06:00
Chris Krycho
3e8adfb870 Merge pull request #4066 from LifeAdventurer/main
Use `<Listing>` preprocessor for chapter 16
2024-10-15 06:57:46 -06:00
Chris Krycho
1d595d8372 Fix up <Listing> usage in Ch. 18
Thanks to @LifeAdventurer (<life0adventurer@gmail.com>) for flagging
this up on the tracking issue!
2024-10-15 06:45:24 -06:00
Chris Krycho
b28a2f6cca Merge pull request #3977 from SpectralPixel/listing-preprocessor-chapter-06
Convert Listings in Chapter 06 to `<Listing>`
2024-10-15 06:39:28 -06:00
lifeadventurer
577a70bc69 Adopt <Listing> for Ch. 16 2024-10-11 22:32:09 +08:00
Chris Krycho
fd145086f9 Revert "Chapter 6 - Wrap all <Listing>s to comply with the virtual 80 character limit (READ DESC.)"
This reverts commit b1bb69fe5d.
2024-10-11 07:27:45 -06:00
Chris Krycho
2399b906ca Merge pull request #4065 from rust-lang/author-chris-krycho
Add Chris Krycho as an author.
2024-10-10 12:37:30 -06:00
Chris Krycho
2bb3691a68 Merge pull request #4056 from rust-lang/appendix-path-qualifiers-3841
Correct the explanation of what `::<path>` means
2024-10-10 12:37:02 -06:00
Chris Krycho
27f2d71453 Add Chris Krycho as an author. 2024-10-10 12:32:26 -06:00
Chris Krycho
e95efa0570 Re-wrap lines after fixing extra word 2024-10-10 06:38:27 -06:00
overflaw
0bee1e62b3 Remove "different" repetition typo in chapter 17.1 2024-10-10 10:51:11 +02:00
Chris Krycho
7ce0849bc0 Adopt <Listing> for Ch. 21 2024-10-09 13:25:50 -06:00
Chris Krycho
bfcebbb2ca Adopt <Listing> for Ch. 20 2024-10-09 13:25:50 -06:00
Chris Krycho
7335c65357 Adopt <Listing> for Ch. 19 2024-10-09 13:21:28 -06:00
Chris Krycho
3e4459297a Adopt <Listing> for Ch. 18 2024-10-09 13:21:28 -06:00
Chris Krycho
68b4d35e8a Merge pull request #4037 from rust-lang/async-chapter
Chapter 17: Async and Await
2024-10-09 13:15:59 -06:00
Chris Krycho
fc62e4055b Fix one more listing number 2024-10-08 11:45:23 -06:00
Chris Krycho
809b24a21b Fix another listing number 2024-10-08 10:16:44 -06:00
Chris Krycho
1fb74c3f1d Ch. 17: update all other text references for new ordering 2024-10-08 10:16:44 -06:00
Chris Krycho
c8f446419a Ch. 17: Listings for old Ch. 17 -> Ch. 18 2024-10-08 10:16:44 -06:00
Chris Krycho
1f6ce67841 Ch. 17: Listings for Ch. 18 -> Ch. 19 2024-10-08 10:16:44 -06:00
Chris Krycho
82f91e7830 Ch. 17: Listings for Ch. 19 -> Ch. 20 2024-10-08 10:16:44 -06:00
Chris Krycho
fb0215d910 Ch. 17: Listings for Ch. 20 -> Ch. 21 2024-10-08 10:16:44 -06:00
Chris Krycho
1af831aa5e Ch. 17: Fix a lot of wording issues in the conclusion section
So many “however” sections! Etc.
2024-10-08 10:00:19 -06:00
Chris Krycho
3b920cdf3b Ch. 17: tweaks and fixes for discussion of the traits
- Fix the numbers on the SVG files so they match up again after having
  added a new 17-3 earlier in the chapter.
- Actually explain what `Context` is *for*, even though we don’t get
  into the details of using it.
2024-10-08 09:41:24 -06:00
Chris Krycho
7076be0692 Ch. 17: improve the discussion of streams
- One example compiles that I used to think didn’t. Probably the result
  of some renumbering. Need to check *all* of those.
- Don’t repeat the same basic “you <verb>” form so much.
2024-10-08 09:18:53 -06:00
Chris Krycho
f45980afda Ch. 17: get rid of some extra italics
These made more sense when this section was all about big ideas and the
runtimes; now it’s needless since we actually spent the section building
something non-trivial.
2024-10-07 14:24:34 -06:00
Chris Krycho
a64884fb8b Ch. 17: kill a double-“thus” 2024-10-07 14:15:42 -06:00
Chris Krycho
3111eda07a Ch. 17: create a diagram showing blocked parallelism 2024-10-07 13:34:57 -06:00
Chris Krycho
8f63245b5c Ch. 17: fix task names in Figure 17-2 2024-10-07 12:47:53 -06:00
Chris Krycho
06a3a7194a Merge main into async-chapter 2024-10-07 12:47:53 -06:00
Chris Krycho
c1d60d0696 Ch. 17: some alternative wordings for “like” substitutions 2024-10-07 08:31:51 -06:00
Chris Krycho
80158e197e Inline example of destructuring a tuple struct. 2024-10-07 08:20:27 -06:00
Chris Krycho
db949d6a96 Ch. 17: Remove TODO about Stream stabilization
Per the [async working group][wg], the _status quo_ for this is unlikely
to change before we go to print. We can of course update the online copy
as soon as it *does* change, and if it happens to change such that we
can sneak it in before going to press, great.

[wg]: https://rust-lang.zulipchat.com/#narrow/stream/187312-wg-async/topic/Rename.20AsyncIterator.20back.20to.20Stream.2C.20introduce.20an.20AFIT-based/near/475300446
2024-10-07 08:02:23 -06:00
João Sampaio
65c0eaa8f6 Just mention that when destructuring, need to mention type name 2024-10-05 10:32:40 +01:00
João Sampaio
1182dc1a0a Merge branch 'main' into small-improvements-to-ch05-2 2024-10-05 10:17:08 +01:00
Chris Krycho
33cc45ceec Merge pull request #4049 from rust-lang/fix-4001-correctly
Add a short discussion of assignment and ownership in ch. 04
2024-10-04 14:51:02 -06:00
Chris Krycho
691f0e4db9 Merge pull request #4057 from rust-lang/adapter-not-adaptor-3824
Standardize on 'adapter', not 'adaptor'
2024-10-04 14:50:00 -06:00
Chris Krycho
52fa1c9f5e Standardize on 'adapter', not 'adaptor'
This matches what Rust docs use (since rust-lang/rust#87629).

Fixes #3824
2024-10-04 14:43:00 -06:00
Chris Krycho
a50711a2ca Correct the explanation of what ::<path> means
This changed in the 2018 Edition (thank goodness: paths were *bad* back
then, and now they’re much less bad!)

Fixes #3841
2024-10-04 14:26:49 -06:00
Chris Krycho
6b3fb812c8 A bit more clarity about all the stack types in 3.2
Fixes #4009
2024-10-04 08:15:51 -06:00
Carol (Nichols || Goulding)
9572827833 Minimize the word 'like' when other words would fit 2024-10-02 21:57:52 -04:00