Skip to content

Commit

Permalink
doc: fix duplicate phrasing typo
Browse files Browse the repository at this point in the history
  • Loading branch information
purrden authored Jun 2, 2024
1 parent ddeb85e commit ab4c8d1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions regex-lite/src/string.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1717,8 +1717,8 @@ impl<'h> Captures<'h> {
///
/// This returns a tuple where the first element corresponds to the full
/// substring of the haystack that matched the regex. The second element is
/// an array of substrings, with each corresponding to the to the substring
/// that matched for a particular capture group.
/// an array of substrings, with each corresponding to the substring that
/// matched for a particular capture group.
///
/// # Panics
///
Expand Down
4 changes: 2 additions & 2 deletions src/regex/bytes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1711,8 +1711,8 @@ impl<'h> Captures<'h> {
///
/// This returns a tuple where the first element corresponds to the full
/// substring of the haystack that matched the regex. The second element is
/// an array of substrings, with each corresponding to the to the substring
/// that matched for a particular capture group.
/// an array of substrings, with each corresponding to the substring that
/// matched for a particular capture group.
///
/// # Panics
///
Expand Down
4 changes: 2 additions & 2 deletions src/regex/string.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1716,8 +1716,8 @@ impl<'h> Captures<'h> {
///
/// This returns a tuple where the first element corresponds to the full
/// substring of the haystack that matched the regex. The second element is
/// an array of substrings, with each corresponding to the to the substring
/// that matched for a particular capture group.
/// an array of substrings, with each corresponding to the substring that
/// matched for a particular capture group.
///
/// # Panics
///
Expand Down

0 comments on commit ab4c8d1

Please sign in to comment.