Skip to content

Commit

Permalink
Updated the reference in core::hint::spin_loop to the correct relativ…
Browse files Browse the repository at this point in the history
…e path.
  • Loading branch information
Christian committed Apr 3, 2019
1 parent ab3b657 commit becee90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/hint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ pub unsafe fn unreachable_unchecked() -> ! {
/// **Note**: On platforms that do not support receiving spin-loop hints this function does not
/// do anything at all.
///
/// [`std::thread::yield_now`]: ../../../std/thread/fn.yield_now.html
/// [`std::thread::yield_now`]: ../../std/thread/fn.yield_now.html
#[inline]
#[unstable(feature = "renamed_spin_loop", issue = "55002")]
pub fn spin_loop() {
Expand Down

0 comments on commit becee90

Please sign in to comment.