runtime: fix typo (#3385)

This commit is contained in:
Shantanu Sharma
2021-01-10 20:59:14 +09:00
committed by GitHub
parent 51a7082d13
commit 0b8bdf9d32
+1 -1
View File
@@ -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;