Update library/std/src/thread/mod.rs

Fix link reference

Co-authored-by: Joshua Nelson <joshua@yottadb.com>
This commit is contained in:
James Wright 2021-01-15 21:41:26 +00:00 committed by GitHub
parent 8a85a85cea
commit bb2a27ba4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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
///