summaryrefslogtreecommitdiffstats
path: root/tokio/src/runtime/thread_pool/spawner.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tokio/src/runtime/thread_pool/spawner.rs')
-rw-r--r--tokio/src/runtime/thread_pool/spawner.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tokio/src/runtime/thread_pool/spawner.rs b/tokio/src/runtime/thread_pool/spawner.rs
index 976fd32d..56931c9b 100644
--- a/tokio/src/runtime/thread_pool/spawner.rs
+++ b/tokio/src/runtime/thread_pool/spawner.rs
@@ -27,7 +27,7 @@ impl Spawner {
Spawner { workers }
}
- /// Spawn a future onto the thread pool
+ /// Spawns a future onto the thread pool
pub(crate) fn spawn<F>(&self, future: F) -> JoinHandle<F::Output>
where
F: Future + Send + 'static,