runtime: block_on should NOT be called from async context (#3070)

This commit is contained in:
Naja Melan 2020-10-29 11:10:42 +00:00 committed by GitHub
parent c8a484bbb2
commit 34eb47dde5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -415,7 +415,7 @@ cfg_rt! {
///
/// # 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.
///
/// # Examples