Skip to content

Commit

Permalink
doc: fix a couple typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Gold Edem Hogan authored Aug 23, 2023
1 parent 431c4e4 commit 10faa44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/regex/bytes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/regex/string.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 10faa44

Please sign in to comment.