Add tracking issue number for mutex_unpoison

This commit is contained in:
Thayne McCombs 2022-04-27 00:05:34 -06:00
parent fc38388bc1
commit f7ac8e7aef
2 changed files with 2 additions and 2 deletions

View file

@ -392,7 +392,7 @@ pub fn is_poisoned(&self) -> bool {
/// assert_eq!(mutex.is_poisoned(), false);
/// ```
#[inline]
#[unstable(feature = "mutex_unpoison", issue = "none")]
#[unstable(feature = "mutex_unpoison", issue = "96469")]
pub fn clear_poison(guard: &MutexGuard<'_, T>) {
guard.lock.poison.clear();
}

View file

@ -395,7 +395,7 @@ pub fn is_poisoned(&self) -> bool {
/// assert_eq!(lock.is_poisoned(), false);
/// ```
#[inline]
#[unstable(feature = "mutex_unpoison", issue = "none")]
#[unstable(feature = "mutex_unpoison", issue = "96469")]
pub fn clear_poison(guard: &RwLockWriteGuard<'_, T>) {
guard.lock.poison.clear();
}