From d5714cc9d466d1171977aae8e1a78d4bcba95f07 Mon Sep 17 00:00:00 2001 From: Steve Lau Date: Thu, 30 May 2024 11:05:57 +0800 Subject: [PATCH] docs: fix a typo in doc of LocalSet::run_until --- tokio/src/task/local.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio/src/task/local.rs b/tokio/src/task/local.rs index a40708d08c2..d98697482cc 100644 --- a/tokio/src/task/local.rs +++ b/tokio/src/task/local.rs @@ -598,7 +598,7 @@ impl LocalSet { /// allowing it to call [`spawn_local`] to spawn additional `!Send` futures. /// Any local futures spawned on the local set will be driven in the /// background until the future passed to `run_until` completes. When the future - /// passed to `run` finishes, any local futures which have not completed + /// passed to `run_until` finishes, any local futures which have not completed /// will remain on the local set, and will be driven on subsequent calls to /// `run_until` or when [awaiting the local set] itself. ///