From 46f7d87962c0c1273bc66aca99d3f3c08da93265 Mon Sep 17 00:00:00 2001 From: mxsm Date: Sat, 9 Aug 2025 22:29:43 +0800 Subject: [PATCH] runtime: fix a typo in comment of `MAX_LIFO_POLLS_PER_TICK` (#7520) --- tokio/src/runtime/scheduler/multi_thread/worker.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio/src/runtime/scheduler/multi_thread/worker.rs b/tokio/src/runtime/scheduler/multi_thread/worker.rs index 8a9719b9b..7ec3f1264 100644 --- a/tokio/src/runtime/scheduler/multi_thread/worker.rs +++ b/tokio/src/runtime/scheduler/multi_thread/worker.rs @@ -230,7 +230,7 @@ type Notified = task::Notified>; /// Value picked out of thin-air. Running the LIFO slot a handful of times /// seems sufficient to benefit from locality. More than 3 times probably is -/// overweighing. The value can be tuned in the future with data that shows +/// over-weighting. The value can be tuned in the future with data that shows /// improvements. const MAX_LIFO_POLLS_PER_TICK: usize = 3;