Skip to content

Commit 46f7d87

Browse files
authored
runtime: fix a typo in comment of MAX_LIFO_POLLS_PER_TICK (#7520)
1 parent 987675e commit 46f7d87

File tree

1 file changed

+1
-1
lines changed
  • tokio/src/runtime/scheduler/multi_thread

1 file changed

+1
-1
lines changed

tokio/src/runtime/scheduler/multi_thread/worker.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ type Notified = task::Notified<Arc<Handle>>;
230230

231231
/// Value picked out of thin-air. Running the LIFO slot a handful of times
232232
/// seems sufficient to benefit from locality. More than 3 times probably is
233-
/// overweighing. The value can be tuned in the future with data that shows
233+
/// over-weighting. The value can be tuned in the future with data that shows
234234
/// improvements.
235235
const MAX_LIFO_POLLS_PER_TICK: usize = 3;
236236

0 commit comments

Comments
 (0)