about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/libcore/hint.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/hint.rs b/src/libcore/hint.rs
index 7d2006e03c4..d43e6c49f4c 100644
--- a/src/libcore/hint.rs
+++ b/src/libcore/hint.rs
@@ -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() {