Skip to content

Commit d21c0d1

Browse files
authored
Ch-08 Futures Exercise 02: Fix typo (mainmatter#106)
1 parent 994ed42 commit d21c0d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/src/08_futures/02_spawn.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ pub async fn work() {
112112

113113
### `std::thread::spawn` vs `tokio::spawn`
114114

115-
You can think of `tokio::spawn` as the asynchronous sibling of `std::spawn::thread`.
115+
You can think of `tokio::spawn` as the asynchronous sibling of `std::thread::spawn`.
116116

117117
Notice a key difference: with `std::thread::spawn`, you're delegating control to the OS scheduler.
118118
You're not in control of how threads are scheduled.

0 commit comments

Comments
 (0)