Skip to content

Commit becee90

Browse files
author
Christian
committed
Updated the reference in core::hint::spin_loop to the correct relative path.
1 parent ab3b657 commit becee90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/hint.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ pub unsafe fn unreachable_unchecked() -> ! {
7171
/// **Note**: On platforms that do not support receiving spin-loop hints this function does not
7272
/// do anything at all.
7373
///
74-
/// [`std::thread::yield_now`]: ../../../std/thread/fn.yield_now.html
74+
/// [`std::thread::yield_now`]: ../../std/thread/fn.yield_now.html
7575
#[inline]
7676
#[unstable(feature = "renamed_spin_loop", issue = "55002")]
7777
pub fn spin_loop() {

0 commit comments

Comments
 (0)