Update docs so that deprecated method points to relevant method
This commit is contained in:
parent
21265dd0d2
commit
4c42e3831f
1 changed files with 2 additions and 0 deletions
|
@ -779,6 +779,8 @@ pub fn panicking() -> bool {
|
||||||
panicking::panicking()
|
panicking::panicking()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Use [`sleep`].
|
||||||
|
///
|
||||||
/// Puts the current thread to sleep for at least the specified amount of time.
|
/// Puts the current thread to sleep for at least the specified amount of time.
|
||||||
///
|
///
|
||||||
/// The thread may sleep longer than the duration specified due to scheduling
|
/// The thread may sleep longer than the duration specified due to scheduling
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue