File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2483,7 +2483,7 @@ impl<T> [T] {
2483
2483
/// Splits the slice on the first element that matches the specified
2484
2484
/// predicate.
2485
2485
///
2486
- /// If any matching elements are resent in the slice, returns the prefix
2486
+ /// If any matching elements are present in the slice, returns the prefix
2487
2487
/// before the match and suffix after. The matching element itself is not
2488
2488
/// included. If no elements match, returns `None`.
2489
2489
///
@@ -2511,7 +2511,7 @@ impl<T> [T] {
2511
2511
/// Splits the slice on the last element that matches the specified
2512
2512
/// predicate.
2513
2513
///
2514
- /// If any matching elements are resent in the slice, returns the prefix
2514
+ /// If any matching elements are present in the slice, returns the prefix
2515
2515
/// before the match and suffix after. The matching element itself is not
2516
2516
/// included. If no elements match, returns `None`.
2517
2517
///
You can’t perform that action at this time.
0 commit comments