Ch-08 Futures Exercise 02: Fix typo (#106)
authorPalash Nigam (He/Him) <npalash25@gmail.com>
Sat, 29 Jun 2024 22:18:46 +0000 (03:48 +0530)
committerGitHub <noreply@github.com>
Sat, 29 Jun 2024 22:18:46 +0000 (00:18 +0200)
book/src/08_futures/02_spawn.md

index e4c221a..369911e 100644 (file)
@@ -112,7 +112,7 @@ pub async fn work() {
 
 ### `std::thread::spawn` vs `tokio::spawn`
 
-You can think of `tokio::spawn` as the asynchronous sibling of `std::spawn::thread`.
+You can think of `tokio::spawn` as the asynchronous sibling of `std::thread::spawn`.
 
 Notice a key difference: with `std::thread::spawn`, you're delegating control to the OS scheduler.
 You're not in control of how threads are scheduled.