Skip to content

Commit

Permalink
core::ptr: Specify issue for ptr_wrapping_offset feature
Browse files Browse the repository at this point in the history
  • Loading branch information
bluss committed Nov 3, 2016
1 parent 8b2108c commit 67626e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libcore/ptr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ impl<T: ?Sized> *const T {
/// ptr = ptr.wrapping_offset(step);
/// }
/// ```
#[unstable(feature = "ptr_wrapping_offset", issue = "0")]
#[unstable(feature = "ptr_wrapping_offset", issue = "37570")]
#[inline]
pub fn wrapping_offset(self, count: isize) -> *const T where T: Sized {
unsafe {
Expand Down Expand Up @@ -501,7 +501,7 @@ impl<T: ?Sized> *mut T {
/// }
/// assert_eq!(&data, &[0, 2, 0, 4, 0]);
/// ```
#[unstable(feature = "ptr_wrapping_offset", issue = "0")]
#[unstable(feature = "ptr_wrapping_offset", issue = "37570")]
#[inline]
pub fn wrapping_offset(self, count: isize) -> *mut T where T: Sized {
unsafe {
Expand Down

0 comments on commit 67626e0

Please sign in to comment.