about summary refs log tree commit diff
path: root/src/libstd/thread
diff options
context:
space:
mode:
authorFelix Raimundo <felix.raimundo@tweag.io>2017-05-09 19:02:43 +0200
committerFelix Raimundo <felix.raimundo@tweag.io>2017-05-09 19:02:43 +0200
commitafe74c3900aa00373a0d5edd2bd433870822c40a (patch)
tree5e66c6cc7b98af43413be5144740bf61fd048111 /src/libstd/thread
parent03c9510525c986715af1f1f98c2bc06248c747e8 (diff)
downloadrust-afe74c3900aa00373a0d5edd2bd433870822c40a.tar.gz
rust-afe74c3900aa00373a0d5edd2bd433870822c40a.zip
Fix link
Diffstat (limited to 'src/libstd/thread')
-rw-r--r--src/libstd/thread/mod.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libstd/thread/mod.rs b/src/libstd/thread/mod.rs
index 4d931682676..9a7239d297c 100644
--- a/src/libstd/thread/mod.rs
+++ b/src/libstd/thread/mod.rs
@@ -594,21 +594,21 @@ pub fn park() {
     *guard = false;
 }
 
-/// Use [park_timeout].
+/// Use [`park_timeout`].
 ///
 /// Blocks unless or until the current thread's token is made available or
 /// the specified duration has been reached (may wake spuriously).
 ///
-/// The semantics of this function are equivalent to [`park`][park] except
+/// The semantics of this function are equivalent to [`park`] except
 /// that the thread will be blocked for roughly no longer than `dur`. This
 /// method should not be used for precise timing due to anomalies such as
 /// preemption or platform differences that may not cause the maximum
 /// amount of time waited to be precisely `ms` long.
 ///
-/// See the [park documentation][park] for more detail.
+/// See the [park documentation][`park`] for more detail.
 ///
-/// [park_timeout]: fn.park_timeout.html
-/// [park]: ../../std/thread/fn.park.html
+/// [`park_timeout`]: fn.park_timeout.html
+/// [`park`]: ../../std/thread/fn.park.html
 #[stable(feature = "rust1", since = "1.0.0")]
 #[rustc_deprecated(since = "1.6.0", reason = "replaced by `std::thread::park_timeout`")]
 pub fn park_timeout_ms(ms: u32) {