From 3d5993fe7738757ffaa7024953c33d31e759b341 Mon Sep 17 00:00:00 2001 From: Ethan Wolinsky Date: Sun, 27 Jul 2025 08:25:26 -0400 Subject: [PATCH 1/3] Fix typo in section 17.2 --- nostarch/chapter17.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nostarch/chapter17.md b/nostarch/chapter17.md index 488036ac76..fa4bb617f4 100644 --- a/nostarch/chapter17.md +++ b/nostarch/chapter17.md @@ -753,7 +753,7 @@ async blocks compile to anonymous futures, we can put each loop in an async block and have the runtime run them both to completion using the `trpl::join` function. -In the section Waiting for All Threads to Finishing Using `join` +In the section Waiting for All Threads to Finish Using `join` Handles, we showed how to use the `join` method on the `JoinHandle` type returned when you call `std::thread::spawn`. The `trpl::join` function is similar, but for futures. When you give it two futures, From f5a4f953f8b4f1b3f50676e3124f8bdacc04844b Mon Sep 17 00:00:00 2001 From: Ethan Wolinsky Date: Sat, 2 Aug 2025 07:44:13 -0400 Subject: [PATCH 2/3] Revert "Fix typo in section 17.2" This reverts commit 3d5993fe7738757ffaa7024953c33d31e759b341. --- nostarch/chapter17.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nostarch/chapter17.md b/nostarch/chapter17.md index fa4bb617f4..488036ac76 100644 --- a/nostarch/chapter17.md +++ b/nostarch/chapter17.md @@ -753,7 +753,7 @@ async blocks compile to anonymous futures, we can put each loop in an async block and have the runtime run them both to completion using the `trpl::join` function. -In the section Waiting for All Threads to Finish Using `join` +In the section Waiting for All Threads to Finishing Using `join` Handles, we showed how to use the `join` method on the `JoinHandle` type returned when you call `std::thread::spawn`. The `trpl::join` function is similar, but for futures. When you give it two futures, From ccecf767ff86135622fc26902af99fead313719f Mon Sep 17 00:00:00 2001 From: Ethan Wolinsky Date: Sat, 2 Aug 2025 07:45:17 -0400 Subject: [PATCH 3/3] Fix typo in section 17.2 --- src/ch17-02-concurrency-with-async.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ch17-02-concurrency-with-async.md b/src/ch17-02-concurrency-with-async.md index 36343f15a3..c410ed2f53 100644 --- a/src/ch17-02-concurrency-with-async.md +++ b/src/ch17-02-concurrency-with-async.md @@ -117,7 +117,7 @@ async blocks compile to anonymous futures, we can put each loop in an async block and have the runtime run them both to completion using the `trpl::join` function. -In the section [Waiting for All Threads to Finishing Using `join` +In the section [Waiting for All Threads to Finish Using `join` Handles][join-handles], we showed how to use the `join` method on the `JoinHandle` type returned when you call `std::thread::spawn`. The `trpl::join` function is similar, but for futures. When you give it two futures,