We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 995f741 commit 11ee1b0Copy full SHA for 11ee1b0
src/libcollections/str.rs
@@ -1320,7 +1320,7 @@ impl str {
1320
core_str::StrExt::rsplitn(self, n, pat)
1321
}
1322
1323
- /// An iterator over the matches of a pattern within the given string
+ /// An iterator over the disjoint matches of a pattern within the given string
1324
/// slice.
1325
///
1326
/// The pattern can be a `&str`, [`char`], or a closure that
@@ -1359,7 +1359,7 @@ impl str {
1359
core_str::StrExt::matches(self, pat)
1360
1361
1362
- /// An iterator over the matches of a pattern within this string slice,
+ /// An iterator over the disjoint matches of a pattern within this string slice,
1363
/// yielded in reverse order.
1364
1365
/// The pattern can be a `&str`, [`char`], or a closure that determines if
0 commit comments