From 39547889c426f0eec2712b58eefbd475a20f7ce0 Mon Sep 17 00:00:00 2001 From: Gold Edem Hogan Date: Wed, 23 Aug 2023 08:32:08 +0000 Subject: [PATCH] Update string.rs --- 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 b9a3c3390..d5908ae0d 100644 --- a/src/regex/string.rs +++ b/src/regex/string.rs @@ -1145,7 +1145,7 @@ impl Regex { /// /// A [`CaptureLocations`] stores the same byte offsets as a [`Captures`], /// but does *not* store a reference to the haystack. This makes its API - /// a bit lower level and less convenience. But in exchange, callers + /// a bit lower level and less convenient. But in exchange, callers /// may allocate their own `CaptureLocations` and reuse it for multiple /// searches. This may be helpful if allocating a `Captures` shows up in a /// profile as too costly.