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

Simplify error value of parse_internal #1459

Merged
merged 1 commit into from Feb 26, 2024

Conversation

pitdicker
Copy link
Collaborator

If there was an error parse_internal returned a tuple with the remainder of the input and the error.
None of the callers use the remainder portion, so we can simplify a bit.

Copy link

codecov bot commented Feb 25, 2024

Codecov Report

Attention: Patch coverage is 93.10345% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 92.11%. Comparing base (02c68d6) to head (f5f9841).

Files Patch % Lines
src/format/parse.rs 93.10% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1459   +/-   ##
=======================================
  Coverage   92.11%   92.11%           
=======================================
  Files          40       40           
  Lines       18026    18026           
=======================================
  Hits        16604    16604           
  Misses       1422     1422           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@djc djc left a comment

Choose a reason for hiding this comment

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

Nice!

@pitdicker pitdicker merged commit b882f58 into chronotope:main Feb 26, 2024
35 checks passed
@pitdicker pitdicker deleted the parse_internal_error branch February 26, 2024 10:15
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.

None yet

2 participants