1
Fork 0

Update docs so that deprecated method points to relevant method

This commit is contained in:
Anirudh 2022-09-26 19:28:51 +05:30
parent 21265dd0d2
commit 4c42e3831f

View file

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