mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-21 00:00:10 +02:00
fix spawn function documentation (#1940)
This commit is contained in:
committed by
Lucio Franco
parent
41ffdbb7d9
commit
5d5755dca4
@@ -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`.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user