diff options
| author | Tobias Bucher <tobiasbucher5991@gmail.com> | 2018-09-27 09:49:12 +0200 |
|---|---|---|
| committer | Tobias Bucher <tobiasbucher5991@gmail.com> | 2018-09-27 09:49:12 +0200 |
| commit | e370b1ccaed1f2775e2d944acc2898c98b415083 (patch) | |
| tree | 4a109c7a01845950bd33102d1de77499e10ff5f5 | |
| parent | ebffb672950dbf6d2a19364269f95b4bc3e40dc4 (diff) | |
| download | rust-e370b1ccaed1f2775e2d944acc2898c98b415083.tar.gz rust-e370b1ccaed1f2775e2d944acc2898c98b415083.zip | |
Don't have two adjacent "see also" sentences
| -rw-r--r-- | src/libcore/slice/mod.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libcore/slice/mod.rs b/src/libcore/slice/mod.rs index 0a719792c7f..a76b3026036 100644 --- a/src/libcore/slice/mod.rs +++ b/src/libcore/slice/mod.rs @@ -3893,13 +3893,11 @@ pub unsafe fn from_raw_parts<'a, T>(data: *const T, len: usize) -> &'a [T] { /// as not being able to provide a non-aliasing guarantee of the returned /// mutable slice. `data` must be non-null and aligned even for zero-length /// slices as with [`from_raw_parts`]. The total size of the slice must be no -/// larger than `isize::MAX` **bytes** in memory. See the safety documentation -/// of [`pointer::offset`]. +/// larger than `isize::MAX` **bytes** in memory. /// /// See the documentation of [`from_raw_parts`] for more details. /// /// [`from_raw_parts`]: ../../std/slice/fn.from_raw_parts.html -/// [`pointer::offset`]: ../../std/primitive.pointer.html#method.offset #[inline] #[stable(feature = "rust1", since = "1.0.0")] pub unsafe fn from_raw_parts_mut<'a, T>(data: *mut T, len: usize) -> &'a mut [T] { |
