Update docs so that deprecated method points to relevant method
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user