about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-09-13 09:53:04 +0000
committerbors <bors@rust-lang.org>2022-09-13 09:53:04 +0000
commit3886a63ea4a4579afb54173e33a4d4a55d977096 (patch)
tree384fc9460e43997d866c27f9749ffeb43ea301e9
parentbeed5eddb0f73f6721681560c73a51e3f15b8681 (diff)
parentf6cbba12cef255b119f69f71d066141222099677 (diff)
downloadrust-3886a63ea4a4579afb54173e33a4d4a55d977096.tar.gz
rust-3886a63ea4a4579afb54173e33a4d4a55d977096.zip
Auto merge of #2542 - lengyijun:patch-2, r=oli-obk
fix typo
-rw-r--r--src/concurrency/thread.rs2
1 files changed, 1 insertions, 1 deletions
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 @@ impl<'mir, 'tcx: 'mir> ThreadManager<'mir, 'tcx> {
         }
         // 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*