-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
More general PartialEq implementation for Option #1239
Comments
Seems reasonable to me. Though I wonder if both |
|
👍 Are there any similar impls on Option or Result that could be made more general? |
This is a subset of rust-lang/rust#20063, and has in fact had a failed attempt as part of that issue: rust-lang/rust#20063 (comment) . |
Triage: No movement since 2015. |
Currently, only the case where
T == U
is covered. Presumably this is because of derive limitations, since this impl is indeed derived in libcore.I believe it should be possible and correct to provide the following impl:
The text was updated successfully, but these errors were encountered: