File tree 2 files changed +2
-6
lines changed
2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -383,8 +383,6 @@ impl<T: ?Sized> Mutex<T> {
383
383
/// # Examples
384
384
///
385
385
/// ```
386
- /// #![feature(mutex_unpoison)]
387
- ///
388
386
/// use std::sync::{Arc, Mutex};
389
387
/// use std::thread;
390
388
///
@@ -406,7 +404,7 @@ impl<T: ?Sized> Mutex<T> {
406
404
/// assert_eq!(*x, 1);
407
405
/// ```
408
406
#[ inline]
409
- #[ unstable ( feature = "mutex_unpoison" , issue = "96469 " ) ]
407
+ #[ stable ( feature = "mutex_unpoison" , since = "CURRENT_RUSTC_VERSION " ) ]
410
408
pub fn clear_poison ( & self ) {
411
409
self . poison . clear ( ) ;
412
410
}
Original file line number Diff line number Diff line change @@ -387,8 +387,6 @@ impl<T: ?Sized> RwLock<T> {
387
387
/// # Examples
388
388
///
389
389
/// ```
390
- /// #![feature(mutex_unpoison)]
391
- ///
392
390
/// use std::sync::{Arc, RwLock};
393
391
/// use std::thread;
394
392
///
@@ -410,7 +408,7 @@ impl<T: ?Sized> RwLock<T> {
410
408
/// assert_eq!(*guard, 1);
411
409
/// ```
412
410
#[ inline]
413
- #[ unstable ( feature = "mutex_unpoison" , issue = "96469 " ) ]
411
+ #[ stable ( feature = "mutex_unpoison" , since = "CURRENT_RUSTC_VERSION " ) ]
414
412
pub fn clear_poison ( & self ) {
415
413
self . poison . clear ( ) ;
416
414
}
You can’t perform that action at this time.
0 commit comments