We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 01c7f3a + e812da0 commit 7dd8c09Copy full SHA for 7dd8c09
src/libcore/sync/atomic.rs
@@ -97,9 +97,10 @@ use fmt;
97
/// Save power or switch hyperthreads in a busy-wait spin-loop.
98
///
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.
+/// [`std::thread::yield_now`](../../../std/thread/fn.yield_now.html) and
+/// does not directly yield to the system's scheduler.
+/// In some cases it might be useful to use a combination of both functions.
103
+/// Careful benchmarking is advised.
104
105
/// On some platforms this function may not do anything at all.
106
#[inline]
0 commit comments