Update examples/integrate-thread.rs

Co-Authored-By: Yoshua Wuyts <yoshuawuyts+github@gmail.com>
This commit is contained in:
Florian Gilcher 2019-08-15 13:11:18 +02:00 committed by GitHub
parent a9b970c8ec
commit adeabe51d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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),
}
});
}
}