File tree 1 file changed +2
-4
lines changed
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -458,8 +458,6 @@ impl<T> [T] {
458
458
/// element of this slice:
459
459
///
460
460
/// ```
461
- /// #![feature(slice_ptr_range)]
462
- ///
463
461
/// let a = [1, 2, 3];
464
462
/// let x = &a[1] as *const _;
465
463
/// let y = &5 as *const _;
@@ -469,7 +467,7 @@ impl<T> [T] {
469
467
/// ```
470
468
///
471
469
/// [`as_ptr`]: #method.as_ptr
472
- #[ unstable ( feature = "slice_ptr_range" , issue = "65807 " ) ]
470
+ #[ stable ( feature = "slice_ptr_range" , since = "1.48.0 " ) ]
473
471
#[ rustc_const_unstable( feature = "const_ptr_offset" , issue = "71499" ) ]
474
472
#[ inline]
475
473
pub const fn as_ptr_range ( & self ) -> Range < * const T > {
@@ -511,7 +509,7 @@ impl<T> [T] {
511
509
/// common in C++.
512
510
///
513
511
/// [`as_mut_ptr`]: #method.as_mut_ptr
514
- #[ unstable ( feature = "slice_ptr_range" , issue = "65807 " ) ]
512
+ #[ stable ( feature = "slice_ptr_range" , since = "1.48.0 " ) ]
515
513
#[ rustc_const_unstable( feature = "const_ptr_offset" , issue = "71499" ) ]
516
514
#[ inline]
517
515
pub const fn as_mut_ptr_range ( & mut self ) -> Range < * mut T > {
You can’t perform that action at this time.
0 commit comments