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] {
2146
2146
/// Copying four bytes within a slice:
2147
2147
///
2148
2148
/// ```
2149
- /// # #![feature(copy_within)]
2150
2149
/// let mut bytes = *b"Hello, World!";
2151
2150
///
2152
2151
/// bytes.copy_within(1..5, 8);
2153
2152
///
2154
2153
/// assert_eq!(&bytes, b"Hello, Wello!");
2155
2154
/// ```
2156
- #[ unstable ( feature = "copy_within" , issue = "54236 " ) ]
2155
+ #[ stable ( feature = "copy_within" , since = "1.37.0 " ) ]
2157
2156
pub fn copy_within < R : ops:: RangeBounds < usize > > ( & mut self , src : R , dest : usize )
2158
2157
where
2159
2158
T : Copy ,
Original file line number Diff line number Diff line change 29
29
#![ feature( inner_deref) ]
30
30
#![ feature( slice_internals) ]
31
31
#![ feature( slice_partition_dedup) ]
32
- #![ feature( copy_within) ]
33
32
#![ feature( int_error_matching) ]
34
33
#![ feature( const_fn) ]
35
34
#![ warn( rust_2018_idioms) ]
You can’t perform that action at this time.
0 commit comments