File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -361,7 +361,7 @@ impl<T: ?Sized> *const T {
361
361
/// let zero = ptr2_other.offset_from(ptr2); // Undefined Behavior
362
362
/// }
363
363
/// ```
364
- #[ stable( feature = "ptr_offset_from" , since = "1.46 .0" ) ]
364
+ #[ stable( feature = "ptr_offset_from" , since = "1.47 .0" ) ]
365
365
#[ rustc_const_unstable( feature = "const_ptr_offset_from" , issue = "41079" ) ]
366
366
#[ inline]
367
367
pub const unsafe fn offset_from ( self , origin : * const T ) -> isize
Original file line number Diff line number Diff line change @@ -532,7 +532,7 @@ impl<T: ?Sized> *mut T {
532
532
/// let zero = ptr2_other.offset_from(ptr2); // Undefined Behavior
533
533
/// }
534
534
/// ```
535
- #[ stable( feature = "ptr_offset_from" , since = "1.46 .0" ) ]
535
+ #[ stable( feature = "ptr_offset_from" , since = "1.47 .0" ) ]
536
536
#[ rustc_const_unstable( feature = "const_ptr_offset_from" , issue = "41079" ) ]
537
537
#[ inline]
538
538
pub const unsafe fn offset_from ( self , origin : * const T ) -> isize
You can’t perform that action at this time.
0 commit comments