From 07ba1739ad5d1378e93a8cc1e437c36c83af5273 Mon Sep 17 00:00:00 2001 From: Marcus McCurdy Date: Fri, 1 Dec 2023 21:09:58 -0500 Subject: [PATCH] fix typos --- regex-lite/src/string.rs | 2 +- src/regex/bytes.rs | 2 +- src/regex/string.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/regex-lite/src/string.rs b/regex-lite/src/string.rs index 4e4de9068..81149cba6 100644 --- a/regex-lite/src/string.rs +++ b/regex-lite/src/string.rs @@ -1717,7 +1717,7 @@ 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 + /// an array of substrings, with each corresponding to the substring /// that matched for a particular capture group. /// /// # Panics diff --git a/src/regex/bytes.rs b/src/regex/bytes.rs index 19f5701af..4ebdba509 100644 --- a/src/regex/bytes.rs +++ b/src/regex/bytes.rs @@ -1689,7 +1689,7 @@ 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 + /// an array of substrings, with each corresponding to the substring /// that matched for a particular capture group. /// /// # Panics diff --git a/src/regex/string.rs b/src/regex/string.rs index 880d6082a..8802e28b8 100644 --- a/src/regex/string.rs +++ b/src/regex/string.rs @@ -1694,7 +1694,7 @@ 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 + /// an array of substrings, with each corresponding to the substring /// that matched for a particular capture group. /// /// # Panics