Skip to content

Commit c0d475a

Browse files
author
Felix Raimundo
committed
fix typo
1 parent 5573c47 commit c0d475a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libstd/thread/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ pub fn park() {
585585
/// Blocks unless or until the current thread's token is made available or
586586
/// the specified duration has been reached (may wake spuriously).
587587
///
588-
/// The semantics of this function are equivalent to [`park()`][[park] except
588+
/// The semantics of this function are equivalent to [`park()`][park] except
589589
/// that the thread will be blocked for roughly no longer than `dur`. This
590590
/// method should not be used for precise timing due to anomalies such as
591591
/// preemption or platform differences that may not cause the maximum
@@ -605,7 +605,7 @@ pub fn park_timeout_ms(ms: u32) {
605605
/// Blocks unless or until the current thread's token is made available or
606606
/// the specified duration has been reached (may wake spuriously).
607607
///
608-
/// The semantics of this function are equivalent to [`park()`][[park] except
608+
/// The semantics of this function are equivalent to [`park()`][park] except
609609
/// that the thread will be blocked for roughly no longer than `dur`. This
610610
/// method should not be used for precise timing due to anomalies such as
611611
/// preemption or platform differences that may not cause the maximum

0 commit comments

Comments
 (0)