Skip to content

Commit

Permalink
doc: fix typo in captures_read
Browse files Browse the repository at this point in the history
  • Loading branch information
orlp authored Aug 7, 2023
1 parent 72f889e commit 431c4e4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions regex-lite/src/string.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1186,8 +1186,8 @@ impl Regex {
/// To create a `CaptureLocations` value, use the
/// [`Regex::capture_locations`] method.
///
/// This also the overall match if one was found. When a match is found,
/// its offsets are also always stored in `locs` at index `0`.
/// This also returns the overall match if one was found. When a match is
/// found, its offsets are also always stored in `locs` at index `0`.
///
/// # Panics
///
Expand Down
4 changes: 2 additions & 2 deletions src/regex/bytes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1162,8 +1162,8 @@ impl Regex {
/// To create a `CaptureLocations` value, use the
/// [`Regex::capture_locations`] method.
///
/// This also the overall match if one was found. When a match is found,
/// its offsets are also always stored in `locs` at index `0`.
/// This also returns the overall match if one was found. When a match is
/// found, its offsets are also always stored in `locs` at index `0`.
///
/// # Example
///
Expand Down
4 changes: 2 additions & 2 deletions src/regex/string.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1153,8 +1153,8 @@ impl Regex {
/// To create a `CaptureLocations` value, use the
/// [`Regex::capture_locations`] method.
///
/// This also the overall match if one was found. When a match is found,
/// its offsets are also always stored in `locs` at index `0`.
/// This also returns the overall match if one was found. When a match is
/// found, its offsets are also always stored in `locs` at index `0`.
///
/// # Panics
///
Expand Down

0 comments on commit 431c4e4

Please sign in to comment.