Skip to content

Commit 431c4e4

Browse files
authored
doc: fix typo in captures_read
PR #1064
1 parent 72f889e commit 431c4e4

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

regex-lite/src/string.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1186,8 +1186,8 @@ impl Regex {
11861186
/// To create a `CaptureLocations` value, use the
11871187
/// [`Regex::capture_locations`] method.
11881188
///
1189-
/// This also the overall match if one was found. When a match is found,
1190-
/// its offsets are also always stored in `locs` at index `0`.
1189+
/// This also returns the overall match if one was found. When a match is
1190+
/// found, its offsets are also always stored in `locs` at index `0`.
11911191
///
11921192
/// # Panics
11931193
///

src/regex/bytes.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1162,8 +1162,8 @@ impl Regex {
11621162
/// To create a `CaptureLocations` value, use the
11631163
/// [`Regex::capture_locations`] method.
11641164
///
1165-
/// This also the overall match if one was found. When a match is found,
1166-
/// its offsets are also always stored in `locs` at index `0`.
1165+
/// This also returns the overall match if one was found. When a match is
1166+
/// found, its offsets are also always stored in `locs` at index `0`.
11671167
///
11681168
/// # Example
11691169
///

src/regex/string.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1153,8 +1153,8 @@ impl Regex {
11531153
/// To create a `CaptureLocations` value, use the
11541154
/// [`Regex::capture_locations`] method.
11551155
///
1156-
/// This also the overall match if one was found. When a match is found,
1157-
/// its offsets are also always stored in `locs` at index `0`.
1156+
/// This also returns the overall match if one was found. When a match is
1157+
/// found, its offsets are also always stored in `locs` at index `0`.
11581158
///
11591159
/// # Panics
11601160
///

0 commit comments

Comments
 (0)