Skip to content

Commit 4129e07

Browse files
RalfJungcuviper
andcommitted
bump stable version
Co-authored-by: Josh Stone <cuviper@gmail.com>
1 parent eb27828 commit 4129e07

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

library/core/src/ptr/const_ptr.rs

+1-1
Original file line numberDiff line numberDiff 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

library/core/src/ptr/mut_ptr.rs

+1-1
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)