File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -97,9 +97,10 @@ use fmt;
97
97
/// Save power or switch hyperthreads in a busy-wait spin-loop.
98
98
///
99
99
/// This function is deliberately more primitive than
100
- /// `std::thread::yield_now` and does not directly yield to the
101
- /// system's scheduler. In some cases it might be useful to use a
102
- /// combination of both functions. Careful benchmarking is advised.
100
+ /// [`std::thread::yield_now`](../../../std/thread/fn.yield_now.html) and
101
+ /// does not directly yield to the system's scheduler.
102
+ /// In some cases it might be useful to use a combination of both functions.
103
+ /// Careful benchmarking is advised.
103
104
///
104
105
/// On some platforms this function may not do anything at all.
105
106
#[ inline]
You can’t perform that action at this time.
0 commit comments