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() -> ! {
6464/// scheduler, no overhead for switching threads occurs. However, if the thread holding the
6565/// contended lock is running on the same CPU or core, the spin-loop is likely to occupy an entire CPU slice
6666/// 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
6868/// use [`std::thread::yield_now`].
6969///
7070/// **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