about summary refs log tree commit diff
path: root/src/libstd/thread
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-01-21 00:56:18 +0000
committerbors <bors@rust-lang.org>2017-01-21 00:56:18 +0000
commitaedb49cbc9977fee56bb51a20980b380aca53659 (patch)
tree65cdd472388b112d1bb3aba847f596ac13067755 /src/libstd/thread
parenta52da95ced667fe8ff490f73c0b041a4f926c041 (diff)
parent8bee3983f8d480ee928c40f5d92394da0adba9c2 (diff)
downloadrust-aedb49cbc9977fee56bb51a20980b380aca53659.tar.gz
rust-aedb49cbc9977fee56bb51a20980b380aca53659.zip
Auto merge of #39199 - alexcrichton:rollup, r=alexcrichton
Rollup of 28 pull requests

- Successful merges: #38603, #38761, #38842, #38847, #38955, #38966, #39062, #39068, #39077, #39111, #39112, #39114, #39118, #39120, #39132, #39135, #39138, #39142, #39143, #39146, #39157, #39166, #39167, #39168, #39179, #39184, #39195, #39197
- Failed merges: #39060, #39145
Diffstat (limited to 'src/libstd/thread')
-rw-r--r--src/libstd/thread/mod.rs9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/libstd/thread/mod.rs b/src/libstd/thread/mod.rs
index a2039db0e40..07a9b4bed99 100644
--- a/src/libstd/thread/mod.rs
+++ b/src/libstd/thread/mod.rs
@@ -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
 ///