Skip to content

Commit e812da0

Browse files
committed
Force the link to std::thread::yield_now()
1 parent 3bf989f commit e812da0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/sync/atomic.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ use fmt;
9797
/// Save power or switch hyperthreads in a busy-wait spin-loop.
9898
///
9999
/// This function is deliberately more primitive than
100-
/// [`std::thread::yield_now`](../../thread/fn.yield_now.html) and
100+
/// [`std::thread::yield_now`](../../../std/thread/fn.yield_now.html) and
101101
/// does not directly yield to the system's scheduler.
102102
/// In some cases it might be useful to use a combination of both functions.
103103
/// Careful benchmarking is advised.

0 commit comments

Comments
 (0)