mirror of
https://github.com/rust-lang/rust
synced 2024-10-18 14:33:50 +00:00
Add tracking issue number for mutex_unpoison
This commit is contained in:
parent
fc38388bc1
commit
f7ac8e7aef
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue