We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc38388 commit f7ac8e7Copy full SHA for f7ac8e7
library/std/src/sync/mutex.rs
@@ -392,7 +392,7 @@ impl<T: ?Sized> Mutex<T> {
392
/// assert_eq!(mutex.is_poisoned(), false);
393
/// ```
394
#[inline]
395
- #[unstable(feature = "mutex_unpoison", issue = "none")]
+ #[unstable(feature = "mutex_unpoison", issue = "96469")]
396
pub fn clear_poison(guard: &MutexGuard<'_, T>) {
397
guard.lock.poison.clear();
398
}
library/std/src/sync/rwlock.rs
@@ -395,7 +395,7 @@ impl<T: ?Sized> RwLock<T> {
/// assert_eq!(lock.is_poisoned(), false);
399
pub fn clear_poison(guard: &RwLockWriteGuard<'_, T>) {
400
401
0 commit comments