File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -447,6 +447,8 @@ pub fn park() {
447447 * guard = false ;
448448}
449449
450+ /// Use [park_timeout].
451+ ///
450452/// Blocks unless or until the current thread's token is made available or
451453/// the specified duration has been reached (may wake spuriously).
452454///
@@ -456,7 +458,10 @@ pub fn park() {
456458/// preemption or platform differences that may not cause the maximum
457459/// amount of time waited to be precisely `ms` long.
458460///
459- /// See the module doc for more detail.
461+ /// See the [module documentation][thread] for more detail.
462+ ///
463+ /// [thread]: index.html
464+ /// [park_timeout]: fn.park_timeout.html
460465#[ stable( feature = "rust1" , since = "1.0.0" ) ]
461466#[ rustc_deprecated( since = "1.6.0" , reason = "replaced by `std::thread::park_timeout`" ) ]
462467pub fn park_timeout_ms ( ms : u32 ) {
You can’t perform that action at this time.
0 commit comments