Skip to content

Commit 1f70247

Browse files
committedApr 5, 2017
Add tracking issue for offset_to
1 parent 7b89bd7 commit 1f70247

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
 
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# `offset_to`
22

3-
The tracking issue for this feature is: [#0]
3+
The tracking issue for this feature is: [#41079]
44

5-
[#0]: https://github.com/rust-lang/rust/issues/0
5+
[#41079]: https://github.com/rust-lang/rust/issues/41079
66

77
------------------------

‎src/libcore/ptr.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ impl<T: ?Sized> *const T {
527527
/// assert_eq!(unsafe { ptr2.offset(-2) }, ptr1);
528528
/// }
529529
/// ```
530-
#[unstable(feature = "offset_to", issue = "0")]
530+
#[unstable(feature = "offset_to", issue = "41079")]
531531
#[inline]
532532
pub fn offset_to(self, other: *const T) -> Option<isize> where T: Sized {
533533
let size = mem::size_of::<T>();
@@ -718,7 +718,7 @@ impl<T: ?Sized> *mut T {
718718
/// assert_eq!(unsafe { ptr2.offset(-2) }, ptr1);
719719
/// }
720720
/// ```
721-
#[unstable(feature = "offset_to", issue = "0")]
721+
#[unstable(feature = "offset_to", issue = "41079")]
722722
#[inline]
723723
pub fn offset_to(self, other: *const T) -> Option<isize> where T: Sized {
724724
let size = mem::size_of::<T>();

0 commit comments

Comments
 (0)
Please sign in to comment.