mirror of
https://github.com/mainmatter/100-exercises-to-learn-rust
synced 2024-12-25 21:58:26 +01:00
Change execution unit name (#60)
This commit is contained in:
parent
5140cd3b37
commit
35a2ff1efe
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ pub async fn run() {
|
||||||
if let Ok(reason) = e.try_into_panic() {
|
if let Ok(reason) = e.try_into_panic() {
|
||||||
// The task has panicked
|
// The task has panicked
|
||||||
// We resume unwinding the panic,
|
// We resume unwinding the panic,
|
||||||
// thus propagating it to the current thread
|
// thus propagating it to the current task
|
||||||
panic::resume_unwind(reason);
|
panic::resume_unwind(reason);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue