File tree 2 files changed +1
-3
lines changed
2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -1027,7 +1027,6 @@ impl<T: Default> RefCell<T> {
1027
1027
/// # Examples
1028
1028
///
1029
1029
/// ```
1030
- /// #![feature(refcell_take)]
1031
1030
/// use std::cell::RefCell;
1032
1031
///
1033
1032
/// let c = RefCell::new(5);
@@ -1036,7 +1035,7 @@ impl<T: Default> RefCell<T> {
1036
1035
/// assert_eq!(five, 5);
1037
1036
/// assert_eq!(c.into_inner(), 0);
1038
1037
/// ```
1039
- #[ unstable ( feature = "refcell_take" , issue = "71395 " ) ]
1038
+ #[ stable ( feature = "refcell_take" , since = "1.50.0 " ) ]
1040
1039
pub fn take ( & self ) -> T {
1041
1040
self . replace ( Default :: default ( ) )
1042
1041
}
Original file line number Diff line number Diff line change 297
297
#![ feature( raw) ]
298
298
#![ feature( raw_ref_macros) ]
299
299
#![ feature( ready_macro) ]
300
- #![ feature( refcell_take) ]
301
300
#![ feature( rustc_attrs) ]
302
301
#![ feature( rustc_private) ]
303
302
#![ feature( shrink_to) ]
You can’t perform that action at this time.
0 commit comments