]> git.lizzy.rs Git - rust.git/commitdiff
fix typo
authorFelix Raimundo <felix.raimundo@tweag.io>
Sun, 7 May 2017 14:22:13 +0000 (16:22 +0200)
committerFelix Raimundo <felix.raimundo@tweag.io>
Sun, 7 May 2017 14:22:13 +0000 (16:22 +0200)
src/libstd/thread/mod.rs

index 94a2c91858ea7fd1989e96affb15112b0577f191..9c15857edf693bc3a9850beaab1c4866508c34d5 100644 (file)
@@ -585,7 +585,7 @@ pub fn park() {
 /// 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()`][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
@@ -605,7 +605,7 @@ pub fn park_timeout_ms(ms: u32) {
 /// 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()`][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