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

Parse to a result instead of unwrapping #22

Merged
merged 1 commit into from
Oct 3, 2024
Merged

Parse to a result instead of unwrapping #22

merged 1 commit into from
Oct 3, 2024

Conversation

gadomski
Copy link
Collaborator

@gadomski gadomski commented Oct 3, 2024

There's one or two function cases where we actually should be returning an error instead of unwrapping. I kept some of the unreachables b/c we can trust pest to do the grammar right, right?

This will also help when parsing WKTs.

There's one or two function cases where we actually should be returning an
error instead of unwrapping. I kept some of the unreachables b/c we can trust
pest to do the grammar right, right?

This will also help when parsing WKTs.
@gadomski gadomski requested a review from bitner October 3, 2024 13:57
@gadomski gadomski self-assigned this Oct 3, 2024
@bitner bitner merged commit b6a3b36 into main Oct 3, 2024
1 check passed
@bitner bitner deleted the parse-to-result branch October 3, 2024 14:37
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