about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-06-25 13:01:31 -0700
committerGitHub <noreply@github.com>2016-06-25 13:01:31 -0700
commit91c0d0494337714e4cd0b956f7d363ce3d9ab13d (patch)
treeaf4cbd1712ffdeefd9678fffb318cf85b17bbef8 /src/libstd
parentb8214dc6c6fc20d0a660fb5700dca9ebf51ebe89 (diff)
parent64137c485a99c12517e98f67d00204570fa879ee (diff)
downloadrust-91c0d0494337714e4cd0b956f7d363ce3d9ab13d.tar.gz
rust-91c0d0494337714e4cd0b956f7d363ce3d9ab13d.zip
Auto merge of #34410 - frewsxcv:code-like, r=apasel422
Parameters in doc comment should be formatted code-like.

None
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/thread/mod.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libstd/thread/mod.rs b/src/libstd/thread/mod.rs
index e68e525b4ac..ef6cbf6b980 100644
--- a/src/libstd/thread/mod.rs
+++ b/src/libstd/thread/mod.rs
@@ -423,10 +423,10 @@ pub fn park() {
 /// the specified duration has been reached (may wake spuriously).
 ///
 /// The semantics of this function are equivalent to `park()` except that the
-/// thread will be blocked for roughly no longer than *ms*. This method
+/// thread will be blocked for roughly no longer than `ms`. This method
 /// should not be used for precise timing due to anomalies such as
 /// preemption or platform differences that may not cause the maximum
-/// amount of time waited to be precisely *ms* long.
+/// amount of time waited to be precisely `ms` long.
 ///
 /// See the module doc for more detail.
 #[stable(feature = "rust1", since = "1.0.0")]
@@ -439,10 +439,10 @@ pub fn park_timeout_ms(ms: u32) {
 /// the specified duration has been reached (may wake spuriously).
 ///
 /// The semantics of this function are equivalent to `park()` except that the
-/// thread will be blocked for roughly no longer than *dur*. This method
+/// thread will be blocked for roughly no longer than `dur`. This method
 /// should not be used for precise timing due to anomalies such as
 /// preemption or platform differences that may not cause the maximum
-/// amount of time waited to be precisely *dur* long.
+/// amount of time waited to be precisely `dur` long.
 ///
 /// See the module doc for more detail.
 ///