diff options
| author | Corey Farwell <coreyf@rwell.org> | 2016-06-22 08:24:16 -0400 |
|---|---|---|
| committer | Corey Farwell <coreyf@rwell.org> | 2016-06-22 08:24:16 -0400 |
| commit | 64137c485a99c12517e98f67d00204570fa879ee (patch) | |
| tree | 1df2f116da043cbd573ed7accd06d3d34cb2642c /src/libstd/thread | |
| parent | 3ee3267af39aa95fed707c67acb656845eb8f365 (diff) | |
| download | rust-64137c485a99c12517e98f67d00204570fa879ee.tar.gz rust-64137c485a99c12517e98f67d00204570fa879ee.zip | |
Parameters in doc comment should be formatted code-like.
Diffstat (limited to 'src/libstd/thread')
| -rw-r--r-- | src/libstd/thread/mod.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libstd/thread/mod.rs b/src/libstd/thread/mod.rs index 1f78b32bcf3..188b596c679 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. /// |
