File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -594,21 +594,21 @@ pub fn park() {
594594 * guard = false ;
595595}
596596
597- /// Use [park_timeout].
597+ /// Use [` park_timeout` ].
598598///
599599/// Blocks unless or until the current thread's token is made available or
600600/// the specified duration has been reached (may wake spuriously).
601601///
602- /// The semantics of this function are equivalent to [`park`][park] except
602+ /// The semantics of this function are equivalent to [`park`] except
603603/// that the thread will be blocked for roughly no longer than `dur`. This
604604/// method should not be used for precise timing due to anomalies such as
605605/// preemption or platform differences that may not cause the maximum
606606/// amount of time waited to be precisely `ms` long.
607607///
608- /// See the [park documentation][park] for more detail.
608+ /// See the [park documentation][` park` ] for more detail.
609609///
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
612612#[ stable( feature = "rust1" , since = "1.0.0" ) ]
613613#[ rustc_deprecated( since = "1.6.0" , reason = "replaced by `std::thread::park_timeout`" ) ]
614614pub fn park_timeout_ms ( ms : u32 ) {
You can’t perform that action at this time.
0 commit comments