diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2018-02-18 13:21:03 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-02-18 13:21:03 +0100 |
| commit | cc20de3993bc47be613d20fdd4ec3c35cc410fcd (patch) | |
| tree | 004849f31563f7dd4c1eb9f54d12ad392887c077 /src/libstd/thread | |
| parent | 04256e7b9dd4742869eaab6be413b41d6293eb76 (diff) | |
| parent | 0a798bd95251acbf59fca531a8e20d8221eb1a7b (diff) | |
| download | rust-cc20de3993bc47be613d20fdd4ec3c35cc410fcd.tar.gz rust-cc20de3993bc47be613d20fdd4ec3c35cc410fcd.zip | |
Rollup merge of #48312 - frewsxcv:frewsxcv-section-headings, r=QuietMisdreavus
Unify 'Platform-specific behavior' documentation headings. None
Diffstat (limited to 'src/libstd/thread')
| -rw-r--r-- | src/libstd/thread/mod.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstd/thread/mod.rs b/src/libstd/thread/mod.rs index ee49bf796b8..ff121e2d7ee 100644 --- a/src/libstd/thread/mod.rs +++ b/src/libstd/thread/mod.rs @@ -652,7 +652,7 @@ pub fn panicking() -> bool { /// The thread may sleep longer than the duration specified due to scheduling /// specifics or platform-dependent functionality. /// -/// # Platform behavior +/// # Platform-specific behavior /// /// On Unix platforms this function will not return early due to a /// signal being received or a spurious wakeup. @@ -676,7 +676,7 @@ pub fn sleep_ms(ms: u32) { /// The thread may sleep longer than the duration specified due to scheduling /// specifics or platform-dependent functionality. /// -/// # Platform behavior +/// # Platform-specific behavior /// /// On Unix platforms this function will not return early due to a /// signal being received or a spurious wakeup. Platforms which do not support @@ -837,7 +837,7 @@ pub fn park_timeout_ms(ms: u32) { /// /// See the [park documentation][park] for more details. /// -/// # Platform behavior +/// # Platform-specific behavior /// /// Platforms which do not support nanosecond precision for sleeping will have /// `dur` rounded up to the nearest granularity of time they can sleep for. |
