mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-09-25 12:00:35 +00:00
task: fix typo (#6261)
This commit is contained in:
parent
7341004535
commit
c029771247
@ -123,7 +123,7 @@
|
||||
//! all tasks on it.
|
||||
//!
|
||||
//! When tasks are shut down, it will stop running at whichever `.await` it has
|
||||
//! yielded at. All local variables are destroyed by running their detructor.
|
||||
//! yielded at. All local variables are destroyed by running their destructor.
|
||||
//! Once shutdown has completed, awaiting the [`JoinHandle`] will fail with a
|
||||
//! [cancelled error](crate::task::JoinError::is_cancelled).
|
||||
//!
|
||||
|
Loading…
x
Reference in New Issue
Block a user