File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -2146,14 +2146,13 @@ impl<T> [T] {
21462146 /// Copying four bytes within a slice:
21472147 ///
21482148 /// ```
2149- /// # #![feature(copy_within)]
21502149 /// let mut bytes = *b"Hello, World!";
21512150 ///
21522151 /// bytes.copy_within(1..5, 8);
21532152 ///
21542153 /// assert_eq!(&bytes, b"Hello, Wello!");
21552154 /// ```
2156- #[ unstable ( feature = "copy_within" , issue = "54236 " ) ]
2155+ #[ stable ( feature = "copy_within" , since = "1.37.0 " ) ]
21572156 pub fn copy_within < R : ops:: RangeBounds < usize > > ( & mut self , src : R , dest : usize )
21582157 where
21592158 T : Copy ,
Original file line number Diff line number Diff line change 2929#![ feature( inner_deref) ]
3030#![ feature( slice_internals) ]
3131#![ feature( slice_partition_dedup) ]
32- #![ feature( copy_within) ]
3332#![ feature( int_error_matching) ]
3433#![ feature( const_fn) ]
3534#![ warn( rust_2018_idioms) ]
You can’t perform that action at this time.
0 commit comments