Skip to content

Commit

Permalink
task: fix typo (#6261)
Browse files Browse the repository at this point in the history
  • Loading branch information
jesses-canva committed Jan 2, 2024
1 parent 7341004 commit c029771
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tokio/src/task/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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).
//!
Expand Down

0 comments on commit c029771

Please sign in to comment.