Skip to content

Commit 67626e0

Browse files
committed
core::ptr: Specify issue for ptr_wrapping_offset feature
1 parent 8b2108c commit 67626e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libcore/ptr.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ impl<T: ?Sized> *const T {
377377
/// ptr = ptr.wrapping_offset(step);
378378
/// }
379379
/// ```
380-
#[unstable(feature = "ptr_wrapping_offset", issue = "0")]
380+
#[unstable(feature = "ptr_wrapping_offset", issue = "37570")]
381381
#[inline]
382382
pub fn wrapping_offset(self, count: isize) -> *const T where T: Sized {
383383
unsafe {
@@ -501,7 +501,7 @@ impl<T: ?Sized> *mut T {
501501
/// }
502502
/// assert_eq!(&data, &[0, 2, 0, 4, 0]);
503503
/// ```
504-
#[unstable(feature = "ptr_wrapping_offset", issue = "0")]
504+
#[unstable(feature = "ptr_wrapping_offset", issue = "37570")]
505505
#[inline]
506506
pub fn wrapping_offset(self, count: isize) -> *mut T where T: Sized {
507507
unsafe {

0 commit comments

Comments
 (0)