From 93fce1948fc018e7cb5c1bfd536dcdaddfcef02a Mon Sep 17 00:00:00 2001 From: Basile Dura Date: Mon, 4 Dec 2023 08:48:35 +0100 Subject: [PATCH] fix: typo in regex/string.rs:341 --- src/regex/string.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/regex/string.rs b/src/regex/string.rs index 880d6082a..004e979c4 100644 --- a/src/regex/string.rs +++ b/src/regex/string.rs @@ -338,7 +338,7 @@ impl Regex { /// The `0`th capture group is always unnamed, so it must always be /// accessed with `get(0)` or `[0]`. /// - /// Finally, one other way to to get the matched substrings is with the + /// Finally, one other way to get the matched substrings is with the /// [`Captures::extract`] API: /// /// ```