Skip to content

Commit 91c0d04

Browse files
authored
Auto merge of #34410 - frewsxcv:code-like, r=apasel422
Parameters in doc comment should be formatted code-like. None
2 parents b8214dc + 64137c4 commit 91c0d04

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/libstd/thread/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -423,10 +423,10 @@ pub fn park() {
423423
/// the specified duration has been reached (may wake spuriously).
424424
///
425425
/// The semantics of this function are equivalent to `park()` except that the
426-
/// thread will be blocked for roughly no longer than *ms*. This method
426+
/// thread will be blocked for roughly no longer than `ms`. This method
427427
/// should not be used for precise timing due to anomalies such as
428428
/// preemption or platform differences that may not cause the maximum
429-
/// amount of time waited to be precisely *ms* long.
429+
/// amount of time waited to be precisely `ms` long.
430430
///
431431
/// See the module doc for more detail.
432432
#[stable(feature = "rust1", since = "1.0.0")]
@@ -439,10 +439,10 @@ pub fn park_timeout_ms(ms: u32) {
439439
/// the specified duration has been reached (may wake spuriously).
440440
///
441441
/// The semantics of this function are equivalent to `park()` except that the
442-
/// thread will be blocked for roughly no longer than *dur*. This method
442+
/// thread will be blocked for roughly no longer than `dur`. This method
443443
/// should not be used for precise timing due to anomalies such as
444444
/// preemption or platform differences that may not cause the maximum
445-
/// amount of time waited to be precisely *dur* long.
445+
/// amount of time waited to be precisely `dur` long.
446446
///
447447
/// See the module doc for more detail.
448448
///

0 commit comments

Comments
 (0)