From 2dacebe3f95686217ed58f2d288213ae0a025b29 Mon Sep 17 00:00:00 2001 From: Gold Edem Hogan Date: Wed, 23 Aug 2023 08:29:06 +0000 Subject: [PATCH] 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.