chore: prepare 0.2.0-alpha.2 release (#1465)

This commit is contained in:
Carl Lerche
2019-08-17 23:34:25 -07:00
committed by GitHub
parent 9f0daad5ac
commit 88b4ec84d7
35 changed files with 260 additions and 120 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
#![doc(html_root_url = "https://docs.rs/tokio-test/0.2.0-alpha.1")]
#![doc(html_root_url = "https://docs.rs/tokio-test/0.2.0-alpha.2")]
#![warn(
missing_debug_implementations,
missing_docs,
@@ -20,7 +20,7 @@ pub mod task;
/// For more information, see the documentation for
/// [`tokio::runtime::current_thread::Runtime::block_on`][runtime-block-on].
///
/// [runtime-block-on]: https://docs.rs/tokio/0.2.0-alpha.1/tokio/runtime/current_thread/struct.Runtime.html#method.block_on
/// [runtime-block-on]: https://docs.rs/tokio/0.2.0-alpha.2/tokio/runtime/current_thread/struct.Runtime.html#method.block_on
pub fn block_on<F: std::future::Future>(future: F) -> F::Output {
let mut rt = tokio::runtime::current_thread::Runtime::new().unwrap();
rt.block_on(future)