File tree 1 file changed +2
-4
lines changed
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -1703,8 +1703,7 @@ impl<T> [T] {
1703
1703
1704
1704
/// Returns a subslice with the prefix removed.
1705
1705
///
1706
- /// If the slice starts with `prefix`, returns
1707
- /// the subslice after the prefix, wrapped in `Some`.
1706
+ /// If the slice starts with `prefix`, returns the subslice after the prefix, wrapped in `Some`.
1708
1707
///
1709
1708
/// If the slice does not start with `prefix`, returns `None`.
1710
1709
///
@@ -1738,8 +1737,7 @@ impl<T> [T] {
1738
1737
1739
1738
/// Returns a subslice with the suffix removed.
1740
1739
///
1741
- /// If the slice ends with `suffix`, returns
1742
- /// the subslice before the suffix, wrapped in `Some`.
1740
+ /// If the slice ends with `suffix`, returns the subslice before the suffix, wrapped in `Some`.
1743
1741
///
1744
1742
/// If the slice does not end with `suffix`, returns `None`.
1745
1743
///
You can’t perform that action at this time.
0 commit comments