From 35a2ff1efebfe11e3e19a326d5ea08568fd3505a Mon Sep 17 00:00:00 2001 From: =?utf8?q?On=C3=A8?= <43485962+c-git@users.noreply.github.com> Date: Tue, 28 May 2024 05:05:46 -0400 Subject: [PATCH] Change execution unit name (#60) --- book/src/08_futures/02_spawn.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/src/08_futures/02_spawn.md b/book/src/08_futures/02_spawn.md index fdacda2..e4c221a 100644 --- a/book/src/08_futures/02_spawn.md +++ b/book/src/08_futures/02_spawn.md @@ -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); } } -- 2.45.2