Add slice_ptr_range tracking issue number.

This commit is contained in:
Mara Bos
2019-10-25 14:33:07 +02:00
parent 4936f96d42
commit f1b69b0a87

View File

@@ -434,7 +434,7 @@ impl<T> [T] {
/// ``` /// ```
/// ///
/// [`as_ptr`]: #method.as_ptr /// [`as_ptr`]: #method.as_ptr
#[unstable(feature = "slice_ptr_range", issue = "0")] #[unstable(feature = "slice_ptr_range", issue = "65807")]
#[inline] #[inline]
pub fn as_ptr_range(&self) -> Range<*const T> { pub fn as_ptr_range(&self) -> Range<*const T> {
let start = self.as_ptr(); let start = self.as_ptr();
@@ -458,7 +458,7 @@ impl<T> [T] {
/// common in C++. /// common in C++.
/// ///
/// [`as_mut_ptr`]: #method.as_mut_ptr /// [`as_mut_ptr`]: #method.as_mut_ptr
#[unstable(feature = "slice_ptr_range", issue = "0")] #[unstable(feature = "slice_ptr_range", issue = "65807")]
#[inline] #[inline]
pub fn as_mut_ptr_range(&mut self) -> Range<*mut T> { pub fn as_mut_ptr_range(&mut self) -> Range<*mut T> {
let start = self.as_mut_ptr(); let start = self.as_mut_ptr();