mirror of
https://github.com/async-rs/async-std.git
synced 2025-03-28 20:16:41 +00:00
commit
383057b8ea
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@
|
||||||
//! outlive its parent (the task that spawned it), unless this parent is the root task.
|
//! outlive its parent (the task that spawned it), unless this parent is the root task.
|
||||||
//!
|
//!
|
||||||
//! The root task can also wait on the completion of the child task; a call to [`spawn`] produces a
|
//! The root task can also wait on the completion of the child task; a call to [`spawn`] produces a
|
||||||
//! [`JoinHandle`], which provides implements `Future` and can be `await`ed:
|
//! [`JoinHandle`], which implements `Future` and can be `await`ed:
|
||||||
//!
|
//!
|
||||||
//! ```
|
//! ```
|
||||||
//! use async_std::task;
|
//! use async_std::task;
|
||||||
|
|
Loading…
Reference in a new issue