-
Notifications
You must be signed in to change notification settings - Fork 105
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
Document that derive macros create impls for multiple traits #2037
Comments
jswrenn
added a commit
that referenced
this issue
Nov 8, 2024
I opened a PR to document this behavior: #2038 |
google-pr-creation-bot
pushed a commit
to google-pr-creation-bot/zerocopy
that referenced
this issue
Nov 8, 2024
Closed in #2038. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
FromBytes
adds and impl forFromZeros
andTryFromBytes
, whileFromZeros
adds an impl forTryFromBytes
.this does not match the typical behavior of derives, where not even supertraits are derived automatically (thus why you have to separately derive
Clone
andCopy
).this behavior is not documented.
The text was updated successfully, but these errors were encountered: