diff options
Diffstat (limited to 'tokio/src/task/blocking.rs')
-rw-r--r-- | tokio/src/task/blocking.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tokio/src/task/blocking.rs b/tokio/src/task/blocking.rs index 69f4cf0a..0069b10a 100644 --- a/tokio/src/task/blocking.rs +++ b/tokio/src/task/blocking.rs @@ -1,7 +1,7 @@ use crate::task::JoinHandle; cfg_rt_threaded! { - /// Run the provided blocking function without blocking the executor. + /// Runs the provided blocking function without blocking the executor. /// /// In general, issuing a blocking call or performing a lot of compute in a /// future without yielding is not okay, as it may prevent the executor from @@ -39,7 +39,7 @@ cfg_rt_threaded! { } cfg_blocking! { - /// Run the provided closure on a thread where blocking is acceptable. + /// Runs the provided closure on a thread where blocking is acceptable. /// /// In general, issuing a blocking call or performing a lot of compute in a future without /// yielding is not okay, as it may prevent the executor from driving other futures forward. |