@@ -1832,7 +1832,7 @@ impl<T> [T] {
18321832 ///
18331833 /// # Panics
18341834 ///
1835- /// Panics if `mid > len`. For non-panicking alternative see
1835+ /// Panics if `mid > len`. For a non-panicking alternative see
18361836 /// [`split_at_checked`](slice::split_at_checked).
18371837 ///
18381838 /// # Examples
@@ -1879,7 +1879,7 @@ impl<T> [T] {
18791879 ///
18801880 /// # Panics
18811881 ///
1882- /// Panics if `mid > len`. For non-panicking alternative see
1882+ /// Panics if `mid > len`. For a non-panicking alternative see
18831883 /// [`split_at_mut_checked`](slice::split_at_mut_checked).
18841884 ///
18851885 /// # Examples
@@ -2021,7 +2021,7 @@ impl<T> [T] {
20212021 unsafe { ( from_raw_parts_mut ( ptr, mid) , from_raw_parts_mut ( ptr. add ( mid) , len - mid) ) }
20222022 }
20232023
2024- /// Divides one slice into two at an index returning `None` if slice is too
2024+ /// Divides one slice into two at an index returning, `None` if slice is too
20252025 /// short.
20262026 ///
20272027 /// The first will contain all indices from `[0, mid)` (excluding
@@ -2072,7 +2072,8 @@ impl<T> [T] {
20722072 }
20732073 }
20742074
2075- /// Divides one mutable slice into two at an index.
2075+ /// Divides one mutable slice into two at an index, returning `None` if
2076+ /// slice is too short.
20762077 ///
20772078 /// The first will contain all indices from `[0, mid)` (excluding
20782079 /// the index `mid` itself) and the second will contain all
0 commit comments