@@ -1186,7 +1186,6 @@ impl<'b, T: ?Sized> Ref<'b, T> {
1186
1186
/// # Examples
1187
1187
///
1188
1188
/// ```
1189
- /// #![feature(refcell_map_split)]
1190
1189
/// use std::cell::{Ref, RefCell};
1191
1190
///
1192
1191
/// let cell = RefCell::new([1, 2, 3, 4]);
@@ -1195,7 +1194,7 @@ impl<'b, T: ?Sized> Ref<'b, T> {
1195
1194
/// assert_eq!(*begin, [1, 2]);
1196
1195
/// assert_eq!(*end, [3, 4]);
1197
1196
/// ```
1198
- #[ unstable ( feature = "refcell_map_split" , issue = "51476 " ) ]
1197
+ #[ stable ( feature = "refcell_map_split" , since = "1.35.0 " ) ]
1199
1198
#[ inline]
1200
1199
pub fn map_split < U : ?Sized , V : ?Sized , F > ( orig : Ref < ' b , T > , f : F ) -> ( Ref < ' b , U > , Ref < ' b , V > )
1201
1200
where F : FnOnce ( & T ) -> ( & U , & V )
@@ -1268,7 +1267,6 @@ impl<'b, T: ?Sized> RefMut<'b, T> {
1268
1267
/// # Examples
1269
1268
///
1270
1269
/// ```
1271
- /// #![feature(refcell_map_split)]
1272
1270
/// use std::cell::{RefCell, RefMut};
1273
1271
///
1274
1272
/// let cell = RefCell::new([1, 2, 3, 4]);
@@ -1279,7 +1277,7 @@ impl<'b, T: ?Sized> RefMut<'b, T> {
1279
1277
/// begin.copy_from_slice(&[4, 3]);
1280
1278
/// end.copy_from_slice(&[2, 1]);
1281
1279
/// ```
1282
- #[ unstable ( feature = "refcell_map_split" , issue = "51476 " ) ]
1280
+ #[ stable ( feature = "refcell_map_split" , since = "1.35.0 " ) ]
1283
1281
#[ inline]
1284
1282
pub fn map_split < U : ?Sized , V : ?Sized , F > (
1285
1283
orig : RefMut < ' b , T > , f : F
0 commit comments