File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 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 {
361361 /// let zero = ptr2_other.offset_from(ptr2); // Undefined Behavior
362362 /// }
363363 /// ```
364- #[ stable( feature = "ptr_offset_from" , since = "1.46 .0" ) ]
364+ #[ stable( feature = "ptr_offset_from" , since = "1.47 .0" ) ]
365365 #[ rustc_const_unstable( feature = "const_ptr_offset_from" , issue = "41079" ) ]
366366 #[ inline]
367367 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 {
532532 /// let zero = ptr2_other.offset_from(ptr2); // Undefined Behavior
533533 /// }
534534 /// ```
535- #[ stable( feature = "ptr_offset_from" , since = "1.46 .0" ) ]
535+ #[ stable( feature = "ptr_offset_from" , since = "1.47 .0" ) ]
536536 #[ rustc_const_unstable( feature = "const_ptr_offset_from" , issue = "41079" ) ]
537537 #[ inline]
538538 pub const unsafe fn offset_from ( self , origin : * const T ) -> isize
You can’t perform that action at this time.
0 commit comments