diff --git a/tokio/src/future/block_on.rs b/tokio/src/future/block_on.rs index fedcdacd614..2c2ab373617 100644 --- a/tokio/src/future/block_on.rs +++ b/tokio/src/future/block_on.rs @@ -5,7 +5,7 @@ cfg_rt! { pub(crate) fn block_on(f: F) -> F::Output { let mut e = crate::runtime::context::try_enter_blocking_region().expect( "Cannot block the current thread from within a runtime. This \ - happens because a functionattempted to block the current \ + happens because a function attempted to block the current \ thread while the thread is being used to drive asynchronous \ tasks." );