diff options
| author | Campbell Barton <ideasman42@gmail.com> | 2017-06-11 06:17:12 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-06-11 06:17:12 +1000 |
| commit | 11ee1b0b2e438f13153a1caff2d4ce6c2c9d0fa1 (patch) | |
| tree | d850fd141c05fdc0b9562efce60c45b271fec323 /src/libcollections | |
| parent | 995f741a0e3a57d4142c0590b3266514fa0a0e29 (diff) | |
Add missing term 'disjoint' from matches, rmatches
This follows `match_indices`
Diffstat (limited to 'src/libcollections')
| -rw-r--r-- | src/libcollections/str.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcollections/str.rs b/src/libcollections/str.rs index eb32f478194..fdb6ee42127 100644 --- a/src/libcollections/str.rs +++ b/src/libcollections/str.rs @@ -1320,7 +1320,7 @@ impl str { core_str::StrExt::rsplitn(self, n, pat) } - /// 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 /// slice. /// /// The pattern can be a `&str`, [`char`], or a closure that @@ -1359,7 +1359,7 @@ impl str { core_str::StrExt::matches(self, pat) } - /// 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, /// yielded in reverse order. /// /// The pattern can be a `&str`, [`char`], or a closure that determines if |
