Update examples/integrate-thread.rs

Co-Authored-By: Yoshua Wuyts <yoshuawuyts+github@gmail.com>
integrate-threads-example
Florian Gilcher 5 years ago committed by GitHub
parent a9b970c8ec
commit adeabe51d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -64,11 +64,11 @@ fn main() {
});
task::block_on(async move {
println!("waiting for panicing thread");
println!("waiting for panicking thread");
let thread_result = panicing_thread.join().await;
match thread_result {
Ok(s) => println!("Result: {}", s),
Err(e) => println!("Error: {:?}", e),
}
});
}
}

Loading…
Cancel
Save