@@ -715,8 +715,7 @@ impl str {
715
715
/// Returns `None` if it doesn't exist.
716
716
///
717
717
/// The pattern can be a simple `&str`, `char`, or a closure that
718
- /// determines the
719
- /// split.
718
+ /// determines if a character matches.
720
719
///
721
720
/// # Examples
722
721
///
@@ -760,7 +759,7 @@ impl str {
760
759
/// Returns `None` if it doesn't exist.
761
760
///
762
761
/// The pattern can be a simple `&str`, `char`,
763
- /// or a closure that determines the split .
762
+ /// or a closure that determines if a character matches .
764
763
///
765
764
/// # Examples
766
765
///
@@ -1096,7 +1095,7 @@ impl str {
1096
1095
/// An iterator over the matches of a pattern within `self`.
1097
1096
///
1098
1097
/// The pattern can be a simple `&str`, `char`, or a closure that
1099
- /// determines the split .
1098
+ /// determines if a character matches .
1100
1099
/// Additional libraries might provide more complex patterns like
1101
1100
/// regular expressions.
1102
1101
///
@@ -1129,7 +1128,7 @@ impl str {
1129
1128
/// reverse order.
1130
1129
///
1131
1130
/// The pattern can be a simple `&str`, `char`, or a closure that
1132
- /// determines the split .
1131
+ /// determines if a character matches .
1133
1132
/// Additional libraries might provide more complex patterns like
1134
1133
/// regular expressions.
1135
1134
///
@@ -1166,8 +1165,7 @@ impl str {
1166
1165
/// match are returned.
1167
1166
///
1168
1167
/// The pattern can be a simple `&str`, `char`, or a closure that
1169
- /// determines
1170
- /// the split.
1168
+ /// determines if a character matches.
1171
1169
/// Additional libraries might provide more complex patterns like
1172
1170
/// regular expressions.
1173
1171
///
@@ -1214,8 +1212,7 @@ impl str {
1214
1212
/// match are returned.
1215
1213
///
1216
1214
/// The pattern can be a simple `&str`, `char`, or a closure that
1217
- /// determines
1218
- /// the split.
1215
+ /// determines if a character matches.
1219
1216
/// Additional libraries might provide more complex patterns like
1220
1217
/// regular expressions.
1221
1218
///
@@ -1296,7 +1293,7 @@ impl str {
1296
1293
/// repeatedly removed.
1297
1294
///
1298
1295
/// The pattern can be a simple `char`, or a closure that determines
1299
- /// the split .
1296
+ /// if a character matches .
1300
1297
///
1301
1298
/// # Examples
1302
1299
///
@@ -1326,7 +1323,7 @@ impl str {
1326
1323
/// repeatedly removed.
1327
1324
///
1328
1325
/// The pattern can be a simple `&str`, `char`, or a closure that
1329
- /// determines the split .
1326
+ /// determines if a character matches .
1330
1327
///
1331
1328
/// # Examples
1332
1329
///
@@ -1346,7 +1343,7 @@ impl str {
1346
1343
/// repeatedly removed.
1347
1344
///
1348
1345
/// The pattern can be a simple `&str`, `char`, or a closure that
1349
- /// determines the split .
1346
+ /// determines if a character matches .
1350
1347
///
1351
1348
/// # Examples
1352
1349
///
0 commit comments