Skip to content

Commit

Permalink
Rollup merge of rust-lang#38761 - frewsxcv:thread-sleep-formatting, r…
Browse files Browse the repository at this point in the history
…=alexcrichton

Add 'platform-specific' section to `sleep_ms` to match `sleep`.

None
  • Loading branch information
alexcrichton committed Jan 20, 2017
2 parents a52da95 + 20fd6cc commit 437d2b5
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/libstd/thread/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -491,9 +491,12 @@ pub fn panicking() -> bool {
/// Puts the current thread to sleep for the specified amount of time.
///
/// The thread may sleep longer than the duration specified due to scheduling
/// specifics or platform-dependent functionality. Note that on unix platforms
/// this function will not return early due to a signal being received or a
/// spurious wakeup.
/// specifics or platform-dependent functionality.
///
/// # Platform behavior
///
/// On Unix platforms this function will not return early due to a
/// signal being received or a spurious wakeup.
///
/// # Examples
///
Expand Down

0 comments on commit 437d2b5

Please sign in to comment.