Auto merge of #2542 - lengyijun:patch-2, r=oli-obk

fix typo
This commit is contained in:
bors 2022-09-13 09:53:04 +00:00
commit 3886a63ea4

View File

@ -582,7 +582,7 @@ fn schedule(&mut self) -> InterpResult<'tcx, SchedulingAction> {
}
// No callbacks scheduled, pick a regular thread to execute.
// The active thread blocked or yielded. So we go search for another enabled thread.
// Curcially, we start searching at the current active thread ID, rather than at 0, since we
// Crucially, we start searching at the current active thread ID, rather than at 0, since we
// want to avoid always scheduling threads 0 and 1 without ever making progress in thread 2.
//
// `skip(N)` means we start iterating at thread N, so we skip 1 more to start just *after*