diff options
| author | Felix Raimundo <felix.raimundo@tweag.io> | 2017-05-07 13:50:23 +0200 |
|---|---|---|
| committer | Felix Raimundo <felix.raimundo@tweag.io> | 2017-05-07 13:50:23 +0200 |
| commit | c158962169e3cf0686cb70652282bcdf20772926 (patch) | |
| tree | 35ee24fc4052657a00d001111a59a1f5c8eb43c2 /src/libstd/thread/mod.rs | |
| parent | 061b56bd5ca2d3a49bebdd6a174995e1b3ec6a5b (diff) | |
| download | rust-c158962169e3cf0686cb70652282bcdf20772926.tar.gz rust-c158962169e3cf0686cb70652282bcdf20772926.zip | |
Add link to the module doc in `park_timeout`.
Part of #29378
Diffstat (limited to 'src/libstd/thread/mod.rs')
| -rw-r--r-- | src/libstd/thread/mod.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstd/thread/mod.rs b/src/libstd/thread/mod.rs index dbc8562ea39..1857f81a339 100644 --- a/src/libstd/thread/mod.rs +++ b/src/libstd/thread/mod.rs @@ -611,7 +611,7 @@ pub fn park_timeout_ms(ms: u32) { /// preemption or platform differences that may not cause the maximum /// amount of time waited to be precisely `dur` long. /// -/// See the module doc for more detail. +/// See the [module doc][thread] for more detail. /// /// # Platform behavior /// @@ -637,6 +637,7 @@ pub fn park_timeout_ms(ms: u32) { /// } /// ``` /// +/// [thread]: index.html /// [park]: fn.park.html #[stable(feature = "park_timeout", since = "1.4.0")] pub fn park_timeout(dur: Duration) { |
