File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -2581,14 +2581,12 @@ impl<T> [T] {
2581
2581
/// # Examples
2582
2582
///
2583
2583
/// ```
2584
- /// #![feature(slice_fill)]
2585
- ///
2586
2584
/// let mut buf = vec![0; 10];
2587
2585
/// buf.fill(1);
2588
2586
/// assert_eq!(buf, vec![1; 10]);
2589
2587
/// ```
2590
2588
#[ doc( alias = "memset" ) ]
2591
- #[ unstable ( feature = "slice_fill" , issue = "70758 " ) ]
2589
+ #[ stable ( feature = "slice_fill" , since = "1.50.0 " ) ]
2592
2590
pub fn fill ( & mut self , value : T )
2593
2591
where
2594
2592
T : Clone ,
Original file line number Diff line number Diff line change 304
304
#![ feature( rustc_private) ]
305
305
#![ feature( shrink_to) ]
306
306
#![ feature( slice_concat_ext) ]
307
- #![ feature( slice_fill) ]
308
307
#![ feature( slice_internals) ]
309
308
#![ feature( slice_ptr_get) ]
310
309
#![ feature( slice_ptr_len) ]
You can’t perform that action at this time.
0 commit comments