From 70569bd0090a3f64aa23c5fccc1d434e04bd90b0 Mon Sep 17 00:00:00 2001 From: dpl Date: Sun, 18 Aug 2024 15:09:19 +0200 Subject: [PATCH] task: fix typo in `TaskTracker` docs (#6792) --- tokio-util/src/task/task_tracker.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio-util/src/task/task_tracker.rs b/tokio-util/src/task/task_tracker.rs index d8f3bb4859a..0efff1dd162 100644 --- a/tokio-util/src/task/task_tracker.rs +++ b/tokio-util/src/task/task_tracker.rs @@ -41,7 +41,7 @@ use tokio::{ /// unique features is required: /// /// 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. /// 3. A `TaskTracker` does not require mutable access to insert tasks. /// 4. A `TaskTracker` can be cloned to share it with many tasks.