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};
69
69
#[ stable( feature = "from_ref" , since = "1.28.0" ) ]
70
70
pub use raw:: { from_mut, from_ref} ;
71
71
72
- #[ unstable( feature = "slice_from_ptr_range" , issue = "none " ) ]
72
+ #[ unstable( feature = "slice_from_ptr_range" , issue = "89792 " ) ]
73
73
pub use raw:: { from_mut_ptr_range, from_ptr_range} ;
74
74
75
75
// 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] {
231
231
/// ```
232
232
///
233
233
/// [valid]: ptr#safety
234
- #[ unstable( feature = "slice_from_ptr_range" , issue = "none " ) ]
234
+ #[ unstable( feature = "slice_from_ptr_range" , issue = "89792 " ) ]
235
235
pub unsafe fn from_ptr_range < ' a , T > ( range : Range < * const T > ) -> & ' a [ T ] {
236
236
// SAFETY: the caller must uphold the safety contract for `from_ptr_range`.
237
237
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] {
280
280
/// ```
281
281
///
282
282
/// [valid]: ptr#safety
283
- #[ unstable( feature = "slice_from_ptr_range" , issue = "none " ) ]
283
+ #[ unstable( feature = "slice_from_ptr_range" , issue = "89792 " ) ]
284
284
pub unsafe fn from_mut_ptr_range < ' a , T > ( range : Range < * mut T > ) -> & ' a mut [ T ] {
285
285
// SAFETY: the caller must uphold the safety contract for `from_mut_ptr_range`.
286
286
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