From f6cbba12cef255b119f69f71d066141222099677 Mon Sep 17 00:00:00 2001 From: lyj Date: Tue, 13 Sep 2022 17:49:41 +0800 Subject: [PATCH] fix typo --- src/concurrency/thread.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/concurrency/thread.rs b/src/concurrency/thread.rs index dc8b1c29114..38c30f44c70 100644 --- a/src/concurrency/thread.rs +++ b/src/concurrency/thread.rs @@ -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*