mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-09-25 12:00:35 +00:00
task: fix typo in TaskTracker
docs (#6792)
This commit is contained in:
parent
9bd6702a3f
commit
70569bd009
@ -41,7 +41,7 @@ use tokio::{
|
|||||||
/// unique features is required:
|
/// unique features is required:
|
||||||
///
|
///
|
||||||
/// 1. When tasks exit, a `TaskTracker` will allow the task to immediately free its memory.
|
/// 1. When tasks exit, a `TaskTracker` will allow the task to immediately free its memory.
|
||||||
/// 2. By not closing the `TaskTracker`, [`wait`] will be prevented from from returning even if
|
/// 2. By not closing the `TaskTracker`, [`wait`] will be prevented from returning even if
|
||||||
/// the `TaskTracker` is empty.
|
/// the `TaskTracker` is empty.
|
||||||
/// 3. A `TaskTracker` does not require mutable access to insert tasks.
|
/// 3. A `TaskTracker` does not require mutable access to insert tasks.
|
||||||
/// 4. A `TaskTracker` can be cloned to share it with many tasks.
|
/// 4. A `TaskTracker` can be cloned to share it with many tasks.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user