Skip to content

Commit e370b1c

Browse files
committed
Don't have two adjacent "see also" sentences
1 parent ebffb67 commit e370b1c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/libcore/slice/mod.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -3893,13 +3893,11 @@ pub unsafe fn from_raw_parts<'a, T>(data: *const T, len: usize) -> &'a [T] {
38933893
/// as not being able to provide a non-aliasing guarantee of the returned
38943894
/// mutable slice. `data` must be non-null and aligned even for zero-length
38953895
/// slices as with [`from_raw_parts`]. The total size of the slice must be no
3896-
/// larger than `isize::MAX` **bytes** in memory. See the safety documentation
3897-
/// of [`pointer::offset`].
3896+
/// larger than `isize::MAX` **bytes** in memory.
38983897
///
38993898
/// See the documentation of [`from_raw_parts`] for more details.
39003899
///
39013900
/// [`from_raw_parts`]: ../../std/slice/fn.from_raw_parts.html
3902-
/// [`pointer::offset`]: ../../std/primitive.pointer.html#method.offset
39033901
#[inline]
39043902
#[stable(feature = "rust1", since = "1.0.0")]
39053903
pub unsafe fn from_raw_parts_mut<'a, T>(data: *mut T, len: usize) -> &'a mut [T] {

0 commit comments

Comments
 (0)