File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -594,21 +594,21 @@ pub fn park() {
594
594
* guard = false ;
595
595
}
596
596
597
- /// Use [park_timeout].
597
+ /// Use [` park_timeout` ].
598
598
///
599
599
/// Blocks unless or until the current thread's token is made available or
600
600
/// the specified duration has been reached (may wake spuriously).
601
601
///
602
- /// The semantics of this function are equivalent to [`park`][park] except
602
+ /// The semantics of this function are equivalent to [`park`] except
603
603
/// that the thread will be blocked for roughly no longer than `dur`. This
604
604
/// method should not be used for precise timing due to anomalies such as
605
605
/// preemption or platform differences that may not cause the maximum
606
606
/// amount of time waited to be precisely `ms` long.
607
607
///
608
- /// See the [park documentation][park] for more detail.
608
+ /// See the [park documentation][` park` ] for more detail.
609
609
///
610
- /// [park_timeout]: fn.park_timeout.html
611
- /// [park]: ../../std/thread/fn.park.html
610
+ /// [` park_timeout` ]: fn.park_timeout.html
611
+ /// [` park` ]: ../../std/thread/fn.park.html
612
612
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
613
613
#[ rustc_deprecated( since = "1.6.0" , reason = "replaced by `std::thread::park_timeout`" ) ]
614
614
pub fn park_timeout_ms ( ms : u32 ) {
You can’t perform that action at this time.
0 commit comments