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

Implement/derive Eq+PartialEq for more types #137

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

filips123
Copy link

This PR is very similar to #128 and can replace it, because it also implements/derives Eq+PartialEq traits for more (I think all) public types. Reasons for this are the same as in #128, but I applied them to more types.

The main types where I think that is useful (apart from Mime) are MediaType and MediaRange (to allow matching them and using them in structs that also want to implement Eq) and ParseError (to allow matching specific errors), but I hope adding Eq+PartialEq to more types won't hurt.

@bsodmike
Copy link

@kailan can you please merge this, ugh I'd hate having to fork this crate.

@kailan
Copy link

kailan commented Jun 11, 2023

@bsodmike I'm not a maintainer unfortunately

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.

3 participants