diff options
| author | Felix Raimundo <felix.raimundo@tweag.io> | 2017-05-07 16:22:13 +0200 |
|---|---|---|
| committer | Felix Raimundo <felix.raimundo@tweag.io> | 2017-05-07 16:22:13 +0200 |
| commit | c0d475ad7b44c153b4999709ff08a9275160ea1c (patch) | |
| tree | 6b8ff5c6ea8abbce34d5817191900a4e15475434 /src/libstd/thread | |
| parent | 5573c4709cba7b3d5dc15c47239d1b1f32af4753 (diff) | |
| download | rust-c0d475ad7b44c153b4999709ff08a9275160ea1c.tar.gz rust-c0d475ad7b44c153b4999709ff08a9275160ea1c.zip | |
fix typo
Diffstat (limited to 'src/libstd/thread')
| -rw-r--r-- | src/libstd/thread/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/thread/mod.rs b/src/libstd/thread/mod.rs index 94a2c91858e..9c15857edf6 100644 --- a/src/libstd/thread/mod.rs +++ b/src/libstd/thread/mod.rs @@ -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 |
