File tree 1 file changed +6
-1
lines changed
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -447,6 +447,8 @@ pub fn park() {
447
447
* guard = false ;
448
448
}
449
449
450
+ /// Use [park_timeout].
451
+ ///
450
452
/// Blocks unless or until the current thread's token is made available or
451
453
/// the specified duration has been reached (may wake spuriously).
452
454
///
@@ -456,7 +458,10 @@ pub fn park() {
456
458
/// preemption or platform differences that may not cause the maximum
457
459
/// amount of time waited to be precisely `ms` long.
458
460
///
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
460
465
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
461
466
#[ rustc_deprecated( since = "1.6.0" , reason = "replaced by `std::thread::park_timeout`" ) ]
462
467
pub fn park_timeout_ms ( ms : u32 ) {
You can’t perform that action at this time.
0 commit comments