mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-08 00:00:13 +02:00
runtime: block_on should NOT be called from async context (#3070)
This commit is contained in:
@@ -415,7 +415,7 @@ cfg_rt! {
|
|||||||
///
|
///
|
||||||
/// # Panics
|
/// # Panics
|
||||||
///
|
///
|
||||||
/// This function panics if the provided future panics, or if not called within an
|
/// This function panics if the provided future panics, or if called within an
|
||||||
/// asynchronous execution context.
|
/// asynchronous execution context.
|
||||||
///
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
|
|||||||
Reference in New Issue
Block a user