From 34eb47dde51d4c37d95cde5a1610b6852f8a24b1 Mon Sep 17 00:00:00 2001 From: Naja Melan Date: Thu, 29 Oct 2020 11:10:42 +0000 Subject: runtime: block_on should NOT be called from async context (#3070) --- tokio/src/runtime/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio/src/runtime/mod.rs b/tokio/src/runtime/mod.rs index be4aa38b..01788b9c 100644 --- a/tokio/src/runtime/mod.rs +++ b/tokio/src/runtime/mod.rs @@ -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 -- cgit v1.2.3