about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorChristian <chris_veenman@hotmail.com>2019-04-03 15:47:38 +0200
committerChristian <chris_veenman@hotmail.com>2019-04-03 15:47:38 +0200
commitbecee90cfd9f174ed050c1d4b366fd13d89f1913 (patch)
tree957fa3d985d89006caed70aedfb8ec9962c7289c /src
parentab3b65737380d2c2a15a868452026df49c58131a (diff)
downloadrust-becee90cfd9f174ed050c1d4b366fd13d89f1913.tar.gz
rust-becee90cfd9f174ed050c1d4b366fd13d89f1913.zip
Updated the reference in core::hint::spin_loop to the correct relative path.
Diffstat (limited to 'src')
-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() {