-
Notifications
You must be signed in to change notification settings - Fork 107
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(ByteEq)
#2274
Labels
customer-request
Documents customer requests.
Comments
@max-heller want to take a stab at this one, too? |
Alternative names: |
We did just land |
Oh, I somehow missed that due to an out-of-date docs.rs bookmark, thanks! 🤦♀ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Occasionally, replacing a
derive(PartialEq)
with a manual impl that compares the bytes of the types directly results in smaller code. A derive macroByteEq
would make this more ergonomic.This also applies to. Inspired by bytemuck.Hash
derive(ByteEq)
should impl bothPartialEq
andEq
.The text was updated successfully, but these errors were encountered: