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

Cleanup the parsedpath change #2

Conversation

nicopap
Copy link

@nicopap nicopap commented Jan 29, 2024

  • Split the error code into its own module
  • Use a newtype for the offset, instead of Option<usize> (16 bytes), we have a usize (8 bytes).
  • Make a few error types private, so that they don't need to be documented.
  • Make AccessError a struct with an access and offset fields.

* Split the error code into its own module
* Use a newtype for the offset, instead of `Option<usize>` (16 bytes),
  we have a `usize` (8 bytes).
* Make a few error types private, so that they don't need to be
  documented.
* Make `AccessError` a `struct` with an `access` and `offset` fields.
Copy link

Welcome, new contributor!

Please make sure you've read our contributing guide and we look forward to reviewing your pull request shortly ✨

Copy link
Owner

@doonv doonv left a comment

Choose a reason for hiding this comment

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

This looks great, thank you.

@doonv doonv merged commit 0d3fc19 into doonv:add-manual-parsedpath Jan 29, 2024
19 of 20 checks passed
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