unwrap -> expect
This commit is contained in:
parent
5ca1e45b66
commit
b093a952be
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ pub fn run<F: Future>(future: F) -> F::Output {
|
||||||
Builder::new_current_thread()
|
Builder::new_current_thread()
|
||||||
.enable_io()
|
.enable_io()
|
||||||
.build()
|
.build()
|
||||||
.unwrap()
|
.expect("Error setting up async runtime")
|
||||||
.block_on(future)
|
.block_on(future)
|
||||||
}
|
}
|
||||||
pub use tokio::join;
|
pub use tokio::join;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue