We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a85a85 commit bb2a27bCopy full SHA for bb2a27b
library/std/src/thread/mod.rs
@@ -780,6 +780,7 @@ pub fn sleep_ms(ms: u32) {
780
/// platforms the underlying [`Sleep`] syscall is always invoked.
781
/// If the intention is to yield the current time-slice you may want to use
782
/// [`yield_now`] instead.
783
+///
784
/// [`nanosleep`]: https://linux.die.net/man/2/nanosleep
785
/// [`Sleep`]: https://docs.microsoft.com/en-us/windows/win32/api/synchapi/nf-synchapi-sleep
786
///
0 commit comments