File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1320,7 +1320,7 @@ impl str {
1320
1320
core_str:: StrExt :: rsplitn ( self , n, pat)
1321
1321
}
1322
1322
1323
- /// An iterator over the matches of a pattern within the given string
1323
+ /// An iterator over the disjoint matches of a pattern within the given string
1324
1324
/// slice.
1325
1325
///
1326
1326
/// The pattern can be a `&str`, [`char`], or a closure that
@@ -1359,7 +1359,7 @@ impl str {
1359
1359
core_str:: StrExt :: matches ( self , pat)
1360
1360
}
1361
1361
1362
- /// An iterator over the matches of a pattern within this string slice,
1362
+ /// An iterator over the disjoint matches of a pattern within this string slice,
1363
1363
/// yielded in reverse order.
1364
1364
///
1365
1365
/// The pattern can be a `&str`, [`char`], or a closure that determines if
You can’t perform that action at this time.
0 commit comments