File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ pub use raw::{from_raw_parts, from_raw_parts_mut};
6969#[ stable( feature = "from_ref" , since = "1.28.0" ) ]
7070pub use raw:: { from_mut, from_ref} ;
7171
72- #[ unstable( feature = "slice_from_ptr_range" , issue = "none " ) ]
72+ #[ unstable( feature = "slice_from_ptr_range" , issue = "89792 " ) ]
7373pub use raw:: { from_mut_ptr_range, from_ptr_range} ;
7474
7575// This function is public only because there is no other way to unit test heapsort.
Original file line number Diff line number Diff line change @@ -231,7 +231,7 @@ pub const fn from_mut<T>(s: &mut T) -> &mut [T] {
231231/// ```
232232///
233233/// [valid]: ptr#safety
234- #[ unstable( feature = "slice_from_ptr_range" , issue = "none " ) ]
234+ #[ unstable( feature = "slice_from_ptr_range" , issue = "89792 " ) ]
235235pub unsafe fn from_ptr_range < ' a , T > ( range : Range < * const T > ) -> & ' a [ T ] {
236236 // SAFETY: the caller must uphold the safety contract for `from_ptr_range`.
237237 unsafe { from_raw_parts ( range. start , range. end . offset_from ( range. start ) as usize ) }
@@ -280,7 +280,7 @@ pub unsafe fn from_ptr_range<'a, T>(range: Range<*const T>) -> &'a [T] {
280280/// ```
281281///
282282/// [valid]: ptr#safety
283- #[ unstable( feature = "slice_from_ptr_range" , issue = "none " ) ]
283+ #[ unstable( feature = "slice_from_ptr_range" , issue = "89792 " ) ]
284284pub unsafe fn from_mut_ptr_range < ' a , T > ( range : Range < * mut T > ) -> & ' a mut [ T ] {
285285 // SAFETY: the caller must uphold the safety contract for `from_mut_ptr_range`.
286286 unsafe { from_raw_parts_mut ( range. start , range. end . offset_from ( range. start ) as usize ) }
You can’t perform that action at this time.
0 commit comments