Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix some comments #1215

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion regex-automata/src/util/look.rs
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ impl LookSet {
/// assertions in this set that require tables that are not available, then
/// this will return an error.
///
/// Specifically, this returns an error when the the
/// Specifically, this returns an error when the
/// `unicode-word-boundary` feature is _not_ enabled _and_ this set
/// contains a Unicode word boundary assertion.
///
Expand Down
2 changes: 1 addition & 1 deletion regex-lite/src/string.rs
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ impl Regex {
/// The `0`th capture group is always unnamed, so it must always be
/// accessed with `get(0)` or `[0]`.
///
/// Finally, one other way to to get the matched substrings is with the
/// Finally, one other way to get the matched substrings is with the
/// [`Captures::extract`] API:
///
/// ```
Expand Down
2 changes: 1 addition & 1 deletion src/regex/bytes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ impl Regex {
/// The `0`th capture group is always unnamed, so it must always be
/// accessed with `get(0)` or `[0]`.
///
/// Finally, one other way to to get the matched substrings is with the
/// Finally, one other way to get the matched substrings is with the
/// [`Captures::extract`] API:
///
/// ```
Expand Down
2 changes: 1 addition & 1 deletion src/regex/string.rs
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ impl Regex {
/// The `0`th capture group is always unnamed, so it must always be
/// accessed with `get(0)` or `[0]`.
///
/// Finally, one other way to to get the matched substrings is with the
/// Finally, one other way to get the matched substrings is with the
/// [`Captures::extract`] API:
///
/// ```
Expand Down