Skip to content

Commit 3886a63

Browse files
committed
Auto merge of #2542 - lengyijun:patch-2, r=oli-obk
fix typo
2 parents beed5ed + f6cbba1 commit 3886a63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/concurrency/thread.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ impl<'mir, 'tcx: 'mir> ThreadManager<'mir, 'tcx> {
582582
}
583583
// No callbacks scheduled, pick a regular thread to execute.
584584
// The active thread blocked or yielded. So we go search for another enabled thread.
585-
// Curcially, we start searching at the current active thread ID, rather than at 0, since we
585+
// Crucially, we start searching at the current active thread ID, rather than at 0, since we
586586
// want to avoid always scheduling threads 0 and 1 without ever making progress in thread 2.
587587
//
588588
// `skip(N)` means we start iterating at thread N, so we skip 1 more to start just *after*

0 commit comments

Comments
 (0)