about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrik Sverdrup <bluss@users.noreply.github.com>2016-11-04 00:16:04 +0100
committerUlrik Sverdrup <bluss@users.noreply.github.com>2016-11-04 00:16:04 +0100
commit67626e0cc30e07fe8763d344e855d7b4750b0b33 (patch)
treee9220233f376e695470d9cd5d4253d9b01e40e6d
parent8b2108c6cb6b60f01b2ff01ef81861dcbc02fec7 (diff)
core::ptr: Specify issue for ptr_wrapping_offset feature
-rw-r--r--src/libcore/ptr.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/ptr.rs b/src/libcore/ptr.rs
index befab1b3669..2ad38de72b1 100644
--- a/src/libcore/ptr.rs
+++ b/src/libcore/ptr.rs
@@ -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 {
@@ -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 {