File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 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> {
383383 /// # Examples
384384 ///
385385 /// ```
386- /// #![feature(mutex_unpoison)]
387- ///
388386 /// use std::sync::{Arc, Mutex};
389387 /// use std::thread;
390388 ///
@@ -406,7 +404,7 @@ impl<T: ?Sized> Mutex<T> {
406404 /// assert_eq!(*x, 1);
407405 /// ```
408406 #[ inline]
409- #[ unstable ( feature = "mutex_unpoison" , issue = "96469 " ) ]
407+ #[ stable ( feature = "mutex_unpoison" , since = "CURRENT_RUSTC_VERSION " ) ]
410408 pub fn clear_poison ( & self ) {
411409 self . poison . clear ( ) ;
412410 }
Original file line number Diff line number Diff line change @@ -387,8 +387,6 @@ impl<T: ?Sized> RwLock<T> {
387387 /// # Examples
388388 ///
389389 /// ```
390- /// #![feature(mutex_unpoison)]
391- ///
392390 /// use std::sync::{Arc, RwLock};
393391 /// use std::thread;
394392 ///
@@ -410,7 +408,7 @@ impl<T: ?Sized> RwLock<T> {
410408 /// assert_eq!(*guard, 1);
411409 /// ```
412410 #[ inline]
413- #[ unstable ( feature = "mutex_unpoison" , issue = "96469 " ) ]
411+ #[ stable ( feature = "mutex_unpoison" , since = "CURRENT_RUSTC_VERSION " ) ]
414412 pub fn clear_poison ( & self ) {
415413 self . poison . clear ( ) ;
416414 }
You can’t perform that action at this time.
0 commit comments