We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 356b4c8 commit 66e4b34Copy full SHA for 66e4b34
src/libcore/hint.rs
@@ -64,7 +64,7 @@ pub unsafe fn unreachable_unchecked() -> ! {
64
/// scheduler, no overhead for switching threads occurs. However, if the thread holding the
65
/// contended lock is running on the same CPU or core, the spin-loop is likely to occupy an entire CPU slice
66
/// before switching to the thread that holds the lock. If the contending lock is held by a thread
67
-/// on the same CPU or thread or if the waiting times for acquiring the lock are longer, it is often better to
+/// on the same CPU or core or if the waiting times for acquiring the lock are longer, it is often better to
68
/// use [`std::thread::yield_now`].
69
///
70
/// **Note**: On platforms that do not support receiving spin-loop hints this function does not
0 commit comments