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

api: add SetMatches::matched_all #1228

Merged
merged 2 commits into from
Sep 29, 2024
Merged

Conversation

tmccombs
Copy link
Contributor

Which compliments matched_any with a means to check if a set of patterns ALL matched the haystack.

Which compliments `matched_any` with a means to check if a set of
patterns ALL matched the haystack.
@@ -482,6 +482,24 @@ impl SetMatches {
!self.0.is_empty()
}

/// Whether all patterns in this set matched
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like you missed a period here (and below).

@BurntSushi BurntSushi merged commit b790aa5 into rust-lang:master Sep 29, 2024
16 checks passed
@tmccombs tmccombs deleted the matched-all branch September 30, 2024 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants