We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 74c42ac + 20fd6cc commit f8779b6Copy full SHA for f8779b6
src/libstd/thread/mod.rs
@@ -491,9 +491,12 @@ pub fn panicking() -> bool {
491
/// Puts the current thread to sleep for the specified amount of time.
492
///
493
/// The thread may sleep longer than the duration specified due to scheduling
494
-/// specifics or platform-dependent functionality. Note that on unix platforms
495
-/// this function will not return early due to a signal being received or a
496
-/// spurious wakeup.
+/// specifics or platform-dependent functionality.
+///
+/// # Platform behavior
497
498
+/// On Unix platforms this function will not return early due to a
499
+/// signal being received or a spurious wakeup.
500
501
/// # Examples
502
0 commit comments