From 2dacebe3f95686217ed58f2d288213ae0a025b29 Mon Sep 17 00:00:00 2001 From: Gold Edem Hogan Date: Wed, 23 Aug 2023 08:29:06 +0000 Subject: [PATCH 1/2] Update bytes.rs Spelling correction in docs --- src/regex/bytes.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/regex/bytes.rs b/src/regex/bytes.rs index 03982544b..cc53482cb 100644 --- a/src/regex/bytes.rs +++ b/src/regex/bytes.rs @@ -1154,7 +1154,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. From b177ec84358e6b3c1cdcaaed56b37600a6baa764 Mon Sep 17 00:00:00 2001 From: Gold Edem Hogan Date: Wed, 23 Aug 2023 08:33:40 +0000 Subject: [PATCH 2/2] 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.