Skip to content

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.
!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