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

Add Range conversions for Match types #631

Closed
wants to merge 2 commits into from

Conversation

nvzqz
Copy link
Contributor

@nvzqz nvzqz commented Nov 26, 2019

The range method is for convenience to slightly reduce the amount of code needed to be written by users. In my opinion, it also feels like a natural extension of the Match API. I've also added From<Match> conversions for Range<usize>.

BurntSushi pushed a commit that referenced this pull request Jan 9, 2020
This builds on top of the previous commit which adds a new `range`
method to the `Match` types.

Closes #631
@BurntSushi BurntSushi closed this in 6b1539a Jan 9, 2020
@nvzqz nvzqz deleted the match-range branch January 14, 2020 08:02
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.

1 participant