File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -458,8 +458,6 @@ impl<T> [T] {
458458 /// element of this slice:
459459 ///
460460 /// ```
461- /// #![feature(slice_ptr_range)]
462- ///
463461 /// let a = [1, 2, 3];
464462 /// let x = &a[1] as *const _;
465463 /// let y = &5 as *const _;
@@ -469,7 +467,7 @@ impl<T> [T] {
469467 /// ```
470468 ///
471469 /// [`as_ptr`]: #method.as_ptr
472- #[ unstable ( feature = "slice_ptr_range" , issue = "65807 " ) ]
470+ #[ stable ( feature = "slice_ptr_range" , since = "1.48.0 " ) ]
473471 #[ rustc_const_unstable( feature = "const_ptr_offset" , issue = "71499" ) ]
474472 #[ inline]
475473 pub const fn as_ptr_range ( & self ) -> Range < * const T > {
@@ -511,7 +509,7 @@ impl<T> [T] {
511509 /// common in C++.
512510 ///
513511 /// [`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 " ) ]
515513 #[ rustc_const_unstable( feature = "const_ptr_offset" , issue = "71499" ) ]
516514 #[ inline]
517515 pub const fn as_mut_ptr_range ( & mut self ) -> Range < * mut T > {
You can’t perform that action at this time.
0 commit comments