diff options
| author | Amanieu d'Antras <amanieu@gmail.com> | 2017-04-05 07:45:44 +0100 |
|---|---|---|
| committer | Amanieu d'Antras <amanieu@gmail.com> | 2017-04-05 07:45:44 +0100 |
| commit | 1f70247446914a8b58bd088f32bcca792d30d75f (patch) | |
| tree | f122de00d0749b596f211824256c963893a66cb0 | |
| parent | 7b89bd7ccacd0908d7e22a5cf383c8cc147bc3d5 (diff) | |
| download | rust-1f70247446914a8b58bd088f32bcca792d30d75f.tar.gz rust-1f70247446914a8b58bd088f32bcca792d30d75f.zip | |
Add tracking issue for offset_to
| -rw-r--r-- | src/doc/unstable-book/src/offset-to.md | 4 | ||||
| -rw-r--r-- | src/libcore/ptr.rs | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/doc/unstable-book/src/offset-to.md b/src/doc/unstable-book/src/offset-to.md index 376f3ff5d21..03d990eb4ae 100644 --- a/src/doc/unstable-book/src/offset-to.md +++ b/src/doc/unstable-book/src/offset-to.md @@ -1,7 +1,7 @@ # `offset_to` -The tracking issue for this feature is: [#0] +The tracking issue for this feature is: [#41079] -[#0]: https://github.com/rust-lang/rust/issues/0 +[#41079]: https://github.com/rust-lang/rust/issues/41079 ------------------------ diff --git a/src/libcore/ptr.rs b/src/libcore/ptr.rs index 6bcce76af04..04480fc5d31 100644 --- a/src/libcore/ptr.rs +++ b/src/libcore/ptr.rs @@ -527,7 +527,7 @@ impl<T: ?Sized> *const T { /// assert_eq!(unsafe { ptr2.offset(-2) }, ptr1); /// } /// ``` - #[unstable(feature = "offset_to", issue = "0")] + #[unstable(feature = "offset_to", issue = "41079")] #[inline] pub fn offset_to(self, other: *const T) -> Option<isize> where T: Sized { let size = mem::size_of::<T>(); @@ -718,7 +718,7 @@ impl<T: ?Sized> *mut T { /// assert_eq!(unsafe { ptr2.offset(-2) }, ptr1); /// } /// ``` - #[unstable(feature = "offset_to", issue = "0")] + #[unstable(feature = "offset_to", issue = "41079")] #[inline] pub fn offset_to(self, other: *const T) -> Option<isize> where T: Sized { let size = mem::size_of::<T>(); |
