3 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -549,8 +549,6 @@ impl<T: Copy> Cell<T> {
549
549
/// # Examples
550
550
///
551
551
/// ```
552
- /// #![feature(cell_update)]
553
- ///
554
552
/// use std::cell::Cell;
555
553
///
556
554
/// let c = Cell::new(5);
@@ -560,7 +558,7 @@ impl<T: Copy> Cell<T> {
560
558
/// assert_eq!(c.get(), 6);
561
559
/// ```
562
560
#[ inline]
563
- #[ unstable ( feature = "cell_update" , issue = "50186 " ) ]
561
+ #[ stable ( feature = "cell_update" , since = "CURRENT_RUSTC_VERSION " ) ]
564
562
pub fn update < F > ( & self , f : F ) -> T
565
563
where
566
564
F : FnOnce ( T ) -> T ,
Original file line number Diff line number Diff line change 11
11
#![ feature( async_iter_from_iter) ]
12
12
#![ feature( async_iterator) ]
13
13
#![ feature( bigint_helper_methods) ]
14
- #![ feature( cell_update) ]
15
14
#![ feature( clone_to_uninit) ]
16
15
#![ feature( const_black_box) ]
17
16
#![ feature( const_eval_select) ]
Original file line number Diff line number Diff line change 1
1
#![ feature( rustc_private) ]
2
- #![ feature( cell_update) ]
3
2
#![ feature( float_gamma) ]
4
3
#![ feature( map_try_insert) ]
5
4
#![ feature( never_type) ]
0 commit comments