From 0b8bdf9d32e4add38a3c53f86e7be70782c0170d Mon Sep 17 00:00:00 2001 From: Shantanu Sharma <32036912+shantanu28sharma@users.noreply.github.com> Date: Sun, 10 Jan 2021 17:29:14 +0530 Subject: [PATCH] runtime: fix typo (#3385) --- tokio/src/runtime/thread_pool/idle.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio/src/runtime/thread_pool/idle.rs b/tokio/src/runtime/thread_pool/idle.rs index 6e692fd8d..b77cce5f4 100644 --- a/tokio/src/runtime/thread_pool/idle.rs +++ b/tokio/src/runtime/thread_pool/idle.rs @@ -118,7 +118,7 @@ impl Idle { if sleepers[index] == worker_id { sleepers.swap_remove(index); - // Update the state accordingly whle the lock is held. + // Update the state accordingly while the lock is held. State::unpark_one(&self.state); return;