From: Onè <43485962+c-git@users.noreply.github.com> Date: Tue, 28 May 2024 09:05:46 +0000 (-0400) Subject: Change execution unit name (#60) X-Git-Url: http://git.euphorik.ch/index.cgi?a=commitdiff_plain;h=35a2ff1efebfe11e3e19a326d5ea08568fd3505a;p=rust_exercises.git Change execution unit name (#60) --- 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); } }