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

Remove public export of ParseValue trait #116

Merged
merged 1 commit into from
Feb 6, 2025

Conversation

apasel422
Copy link
Collaborator

@apasel422 apasel422 commented Feb 5, 2025

  • The documentation for its lone method indicated that it shouldn't be called externally
  • Its method was only callable if the trait was used
  • It was only meant to be implemented for types defined in the crate, but was not sealed
  • The public Parser struct already provides the same functionality
  • Its lone method's interface exposed internal representation of the parser (&mut Peekable<Chars>), which may be changed in the future to accommodate things like copy-less parsing or configurations like RFC 9651

- The documentation for its lone method indicated that it shouldn't be
  called externally
- Its method was only callable if the trait was `use`d
- The public `Parser` struct already provides the same functionality
- Its lone method's interface exposed internal representation of the
  parser (`&mut Peekable<Chars>`), which may be changed in the future to
  accommodate things like copy-less parsing or configurations like RFC
  9651
@apasel422 apasel422 marked this pull request as ready for review February 5, 2025 15:16
@valenting valenting merged commit c5a3d77 into undef1nd:main Feb 6, 2025
3 checks passed
@apasel422 apasel422 deleted the remove-parse-value branch February 6, 2025 13:20
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