diff options
| author | James Wright <Digital-Chaos@users.noreply.github.com> | 2021-01-15 21:41:26 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-15 21:41:26 +0000 |
| commit | bb2a27ba4f5880d9842d4f2af2bf02a7253f303a (patch) | |
| tree | 7eb6db199abe5aa6abfc4d8bac1949e73ce820cd /library/std/src/thread/mod.rs | |
| parent | 8a85a85cea41e1e1faacb307f29b87abf935cdf3 (diff) | |
| download | rust-bb2a27ba4f5880d9842d4f2af2bf02a7253f303a.tar.gz rust-bb2a27ba4f5880d9842d4f2af2bf02a7253f303a.zip | |
Update library/std/src/thread/mod.rs
Fix link reference Co-authored-by: Joshua Nelson <joshua@yottadb.com>
Diffstat (limited to 'library/std/src/thread/mod.rs')
| -rw-r--r-- | library/std/src/thread/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/thread/mod.rs b/library/std/src/thread/mod.rs index 115919c9666..a01e0b88b30 100644 --- a/library/std/src/thread/mod.rs +++ b/library/std/src/thread/mod.rs @@ -780,6 +780,7 @@ pub fn sleep_ms(ms: u32) { /// platforms the underlying [`Sleep`] syscall is always invoked. /// If the intention is to yield the current time-slice you may want to use /// [`yield_now`] instead. +/// /// [`nanosleep`]: https://linux.die.net/man/2/nanosleep /// [`Sleep`]: https://docs.microsoft.com/en-us/windows/win32/api/synchapi/nf-synchapi-sleep /// |
