Skip to content

Commit b9ba5cf

Browse files
authored
doc: remove some repeated words
PR #1215
1 parent cd7bb75 commit b9ba5cf

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

regex-automata/src/util/look.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ impl LookSet {
482482
/// assertions in this set that require tables that are not available, then
483483
/// this will return an error.
484484
///
485-
/// Specifically, this returns an error when the the
485+
/// Specifically, this returns an error when the
486486
/// `unicode-word-boundary` feature is _not_ enabled _and_ this set
487487
/// contains a Unicode word boundary assertion.
488488
///

regex-lite/src/string.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ impl Regex {
329329
/// The `0`th capture group is always unnamed, so it must always be
330330
/// accessed with `get(0)` or `[0]`.
331331
///
332-
/// Finally, one other way to to get the matched substrings is with the
332+
/// Finally, one other way to get the matched substrings is with the
333333
/// [`Captures::extract`] API:
334334
///
335335
/// ```

src/regex/bytes.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ impl Regex {
336336
/// The `0`th capture group is always unnamed, so it must always be
337337
/// accessed with `get(0)` or `[0]`.
338338
///
339-
/// Finally, one other way to to get the matched substrings is with the
339+
/// Finally, one other way to get the matched substrings is with the
340340
/// [`Captures::extract`] API:
341341
///
342342
/// ```

src/regex/string.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ impl Regex {
338338
/// The `0`th capture group is always unnamed, so it must always be
339339
/// accessed with `get(0)` or `[0]`.
340340
///
341-
/// Finally, one other way to to get the matched substrings is with the
341+
/// Finally, one other way to get the matched substrings is with the
342342
/// [`Captures::extract`] API:
343343
///
344344
/// ```

0 commit comments

Comments
 (0)