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] Automatically derive super-traits #926

Merged
merged 2 commits into from
Feb 23, 2024
Merged

Conversation

joshlf
Copy link
Member

@joshlf joshlf commented Feb 23, 2024

#[derive(FromBytes)] implies #[derive(FromZeros)], which implies #[derive(TryFromBytes)].

Closes #925

@joshlf joshlf requested a review from jswrenn February 23, 2024 03:48
`#[derive(FromBytes)]` implies `#[derive(FromZeros)]`, which implies
`#[derive(TryFromBytes)]`.

Closes #925
@joshlf joshlf marked this pull request as ready for review February 23, 2024 05:05
@joshlf joshlf added this pull request to the merge queue Feb 23, 2024
Merged via the queue into main with commit af684c0 Feb 23, 2024
210 checks passed
@joshlf joshlf deleted the derive-imply-super-traits branch February 23, 2024 14:52
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.

derive(FromBytes) should implicitly derive FromZeros and TryFromBytes
2 participants