File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ pub unsafe fn unreachable_unchecked() -> ! {
64
64
/// scheduler, no overhead for switching threads occurs. However, if the thread holding the
65
65
/// contended lock is running on the same CPU or core, the spin-loop is likely to occupy an entire CPU slice
66
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
67
+ /// on the same CPU or core or if the waiting times for acquiring the lock are longer, it is often better to
68
68
/// use [`std::thread::yield_now`].
69
69
///
70
70
/// **Note**: On platforms that do not support receiving spin-loop hints this function does not
You can’t perform that action at this time.
0 commit comments