From a89d2e2c4047a47ebf3691d1823d5cb47655d931 Mon Sep 17 00:00:00 2001 From: dpl Date: Sun, 18 Aug 2024 14:34:19 +0200 Subject: [PATCH] util: fix typo in `TaskTracker` docs --- 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.