Skip to content

Commit 7526190

Browse files
Rollup merge of rust-lang#34410 - frewsxcv:code-like, r=apasel422
Parameters in doc comment should be formatted code-like. None
2 parents dfbf619 + 64137c4 commit 7526190

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
@@ -436,10 +436,10 @@ pub fn park() {
436436
/// the specified duration has been reached (may wake spuriously).
437437
///
438438
/// The semantics of this function are equivalent to `park()` except that the
439-
/// thread will be blocked for roughly no longer than *ms*. This method
439+
/// thread will be blocked for roughly no longer than `ms`. This method
440440
/// should not be used for precise timing due to anomalies such as
441441
/// preemption or platform differences that may not cause the maximum
442-
/// amount of time waited to be precisely *ms* long.
442+
/// amount of time waited to be precisely `ms` long.
443443
///
444444
/// See the module doc for more detail.
445445
#[stable(feature = "rust1", since = "1.0.0")]
@@ -452,10 +452,10 @@ pub fn park_timeout_ms(ms: u32) {
452452
/// the specified duration has been reached (may wake spuriously).
453453
///
454454
/// The semantics of this function are equivalent to `park()` except that the
455-
/// thread will be blocked for roughly no longer than *dur*. This method
455+
/// thread will be blocked for roughly no longer than `dur`. This method
456456
/// should not be used for precise timing due to anomalies such as
457457
/// preemption or platform differences that may not cause the maximum
458-
/// amount of time waited to be precisely *dur* long.
458+
/// amount of time waited to be precisely `dur` long.
459459
///
460460
/// See the module doc for more detail.
461461
///

0 commit comments

Comments
 (0)