Change execution unit name (#60)
authorOnè <43485962+c-git@users.noreply.github.com>
Tue, 28 May 2024 09:05:46 +0000 (05:05 -0400)
committerGitHub <noreply@github.com>
Tue, 28 May 2024 09:05:46 +0000 (11:05 +0200)
book/src/08_futures/02_spawn.md

index fdacda2..e4c221a 100644 (file)
@@ -99,7 +99,7 @@ pub async fn run() {
         if let Ok(reason) = e.try_into_panic() {
             // The task has panicked
             // We resume unwinding the panic,
-            // thus propagating it to the current thread
+            // thus propagating it to the current task
             panic::resume_unwind(reason);
         }
     }