mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-07 00:00:09 +02:00
runtime: remove dead link definition in Runtime::block_on (#8301)
This commit is contained in:
@@ -334,8 +334,6 @@ impl Runtime {
|
|||||||
/// });
|
/// });
|
||||||
/// # }
|
/// # }
|
||||||
/// ```
|
/// ```
|
||||||
///
|
|
||||||
/// [handle]: fn@Handle::block_on
|
|
||||||
#[track_caller]
|
#[track_caller]
|
||||||
pub fn block_on<F: Future>(&self, future: F) -> F::Output {
|
pub fn block_on<F: Future>(&self, future: F) -> F::Output {
|
||||||
let fut_size = mem::size_of::<F>();
|
let fut_size = mem::size_of::<F>();
|
||||||
|
|||||||
Reference in New Issue
Block a user