diff --git a/tokio/src/task/task_local.rs b/tokio/src/task/task_local.rs index 2313df4295a..7f9713d8898 100644 --- a/tokio/src/task/task_local.rs +++ b/tokio/src/task/task_local.rs @@ -340,8 +340,7 @@ where /// /// The function returns: /// - /// * `Some(T)` if the task local value exists, and unset the task local value - /// in the Future. + /// * `Some(T)` if the task local value exists. /// * `None` if the task local value does not exist. /// /// # Note