summaryrefslogtreecommitdiffstats
path: root/tokio/src/task
diff options
context:
space:
mode:
authorJuan Alvarez <j@yabit.io>2019-12-10 09:46:48 -0600
committerLucio Franco <luciofranco14@gmail.com>2019-12-10 10:46:48 -0500
commit5d5755dca4586f80d591e5d61de3f245bf8c4506 (patch)
tree462278def98a9320d561f2e7f841c0d555dc054a /tokio/src/task
parent41ffdbb7d9396708bed868906cd5da837377c9fc (diff)
fix spawn function documentation (#1940)
Diffstat (limited to 'tokio/src/task')
-rw-r--r--tokio/src/task/spawn.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tokio/src/task/spawn.rs b/tokio/src/task/spawn.rs
index 131fca5b..4d18ee23 100644
--- a/tokio/src/task/spawn.rs
+++ b/tokio/src/task/spawn.rs
@@ -52,7 +52,7 @@ doc_rt_core! {
///
/// # Using `!Send` values from a task
///
- /// The task supplied to `spawn` must implement `!Send`. However, it is
+ /// The task supplied to `spawn` must implement `Send`. However, it is
/// possible to **use** `!Send` values from the task as long as they only
/// exist between calls to `.await`.
///