Skip to content

Commit

Permalink
Auto merge of #38761 - frewsxcv:thread-sleep-formatting, r=alexcrichton
Browse files Browse the repository at this point in the history
Add 'platform-specific' section to `sleep_ms` to match `sleep`.

None
  • Loading branch information
bors committed Jan 19, 2017
2 parents 74c42ac + 20fd6cc commit f8779b6
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 f8779b6

Please sign in to comment.