File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -650,15 +650,15 @@ pub fn panicking() -> bool {
650
650
panicking:: panicking ( )
651
651
}
652
652
653
- /// Puts the current thread to sleep for the specified amount of time.
653
+ /// Puts the current thread to sleep for at least the specified amount of time.
654
654
///
655
655
/// The thread may sleep longer than the duration specified due to scheduling
656
- /// specifics or platform-dependent functionality.
656
+ /// specifics or platform-dependent functionality. It will never sleep less.
657
657
///
658
658
/// # Platform-specific behavior
659
659
///
660
- /// On Unix platforms this function might return early due to a
661
- /// signal being received or a spurious wakeup.
660
+ /// On Unix platforms this function may invoke multiple syscalls
661
+ /// in case of a signal being received or a spurious wakeup.
662
662
///
663
663
/// # Examples
664
664
///
You can’t perform that action at this time.
0 commit comments