]> git.lizzy.rs Git - rust.git/commitdiff
core::ptr: Specify issue for ptr_wrapping_offset feature
authorUlrik Sverdrup <bluss@users.noreply.github.com>
Thu, 3 Nov 2016 23:16:04 +0000 (00:16 +0100)
committerUlrik Sverdrup <bluss@users.noreply.github.com>
Thu, 3 Nov 2016 23:16:04 +0000 (00:16 +0100)
src/libcore/ptr.rs

index befab1b3669b360288a8fe519ead628395519a26..2ad38de72b1b95140ea35472449181e8e0c98670 100644 (file)
@@ -377,7 +377,7 @@ pub unsafe fn offset(self, count: isize) -> *const T where T: Sized {
     ///     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 {
@@ -501,7 +501,7 @@ pub unsafe fn offset(self, count: isize) -> *mut T where T: Sized {
     /// }
     /// 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 {