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] {
25812581 /// # Examples
25822582 ///
25832583 /// ```
2584- /// #![feature(slice_fill)]
2585- ///
25862584 /// let mut buf = vec![0; 10];
25872585 /// buf.fill(1);
25882586 /// assert_eq!(buf, vec![1; 10]);
25892587 /// ```
25902588 #[ doc( alias = "memset" ) ]
2591- #[ unstable ( feature = "slice_fill" , issue = "70758 " ) ]
2589+ #[ stable ( feature = "slice_fill" , since = "1.50.0 " ) ]
25922590 pub fn fill ( & mut self , value : T )
25932591 where
25942592 T : Clone ,
Original file line number Diff line number Diff line change 304304#![ feature( rustc_private) ]
305305#![ feature( shrink_to) ]
306306#![ feature( slice_concat_ext) ]
307- #![ feature( slice_fill) ]
308307#![ feature( slice_internals) ]
309308#![ feature( slice_ptr_get) ]
310309#![ feature( slice_ptr_len) ]
You can’t perform that action at this time.
0 commit comments