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

parser: Add parse_comma_separated_ignoring_errors. #312

Merged
merged 1 commit into from
Dec 8, 2022

Conversation

emilio
Copy link
Member

@emilio emilio commented Dec 6, 2022

This would allow to implement
https://bugzilla.mozilla.org/show_bug.cgi?id=1803760 more efficiently.

@emilio
Copy link
Member Author

emilio commented Dec 6, 2022

CI failures are rust-lang/rust#105371

@jfkthame
Copy link
Contributor

jfkthame commented Dec 6, 2022

Yeah, having something like this would allow for a more efficient approach -- LGTM.

Might want to add edge-cases like leading, trailing, or successive commas (i.e. completely empty components in the list) to the testcase, just for thoroughness.

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