bump stable version

Co-authored-by: Josh Stone <cuviper@gmail.com>
This commit is contained in:
Ralf Jung 2020-08-23 16:09:30 +02:00
parent eb27828bf1
commit 4129e0757a
2 changed files with 2 additions and 2 deletions
library/core/src/ptr

@ -361,7 +361,7 @@ impl<T: ?Sized> *const T {
/// let zero = ptr2_other.offset_from(ptr2); // Undefined Behavior
/// }
/// ```
#[stable(feature = "ptr_offset_from", since = "1.46.0")]
#[stable(feature = "ptr_offset_from", since = "1.47.0")]
#[rustc_const_unstable(feature = "const_ptr_offset_from", issue = "41079")]
#[inline]
pub const unsafe fn offset_from(self, origin: *const T) -> isize

@ -532,7 +532,7 @@ impl<T: ?Sized> *mut T {
/// let zero = ptr2_other.offset_from(ptr2); // Undefined Behavior
/// }
/// ```
#[stable(feature = "ptr_offset_from", since = "1.46.0")]
#[stable(feature = "ptr_offset_from", since = "1.47.0")]
#[rustc_const_unstable(feature = "const_ptr_offset_from", issue = "41079")]
#[inline]
pub const unsafe fn offset_from(self, origin: *const T) -> isize