chore: Prepare tokio-test v0.4.1 release (#3602)

This commit is contained in:
Lucio Franco
2021-03-10 16:04:08 -05:00
committed by GitHub
parent 6919f7cede
commit e40ec3e424
3 changed files with 10 additions and 4 deletions
+2 -2
View File
@@ -21,9 +21,9 @@ pub mod task;
/// future completes.
///
/// For more information, see the documentation for
/// [`tokio::runtime::current_thread::Runtime::block_on`][runtime-block-on].
/// [`tokio::runtime::Runtime::block_on`][runtime-block-on].
///
/// [runtime-block-on]: https://docs.rs/tokio/0.2.0-alpha.2/tokio/runtime/current_thread/struct.Runtime.html#method.block_on
/// [runtime-block-on]: https://docs.rs/tokio/1.3.0/tokio/runtime/struct.Runtime.html#method.block_on
pub fn block_on<F: std::future::Future>(future: F) -> F::Output {
use tokio::runtime;