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

Derive Eq for VersionReq #109

Closed
wants to merge 1 commit into from
Closed

Derive Eq for VersionReq #109

wants to merge 1 commit into from

Conversation

jonas-schievink
Copy link

Seems to make sense to me. Version already implements it.

Seems to make sense to me. `Version` already implements it.
@jonas-schievink
Copy link
Author

jonas-schievink commented Mar 26, 2017

That said, maybe Hash would make sense, too. At least my current investigation of rust-lang/cargo#1982 indicates that this would make it easier. Thoughts?

EDIT: Another approach seems more sensible for binary-only deps.

@steveklabnik
Copy link
Contributor

Thoughts?

Mostly, "I haven't thought about it enough", especially EQ. Are these actually total? I'm not sure.

@jonas-schievink
Copy link
Author

Why shouldn't it be reflexive? Maybe I'm missing something, but I think a == a is trivially the case here.

@steveklabnik
Copy link
Contributor

I'm not saying it's not, I'm saying "this is a guarantee and I have given literally zero thought as to how it's true, especially when you bring in stuff like the prerelease rules, etc."

@jonas-schievink
Copy link
Author

Closing, this ain't going nowhere

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