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

Implement AsBytes for MaybeUninit<T> where T is a ZST? #123

Open
joshlf opened this issue Nov 3, 2022 · 0 comments
Open

Implement AsBytes for MaybeUninit<T> where T is a ZST? #123

joshlf opened this issue Nov 3, 2022 · 0 comments
Labels
compatibility-nonbreaking Changes that are (likely to be) non-breaking

Comments

@joshlf
Copy link
Member

joshlf commented Nov 3, 2022

It would probably be sound to implement AsBytes for MaybeUninit<T> where T is a ZST, although it'd definitely require some thought to make sure that's true.

While we're here, there may be other edge cases like this for other types or traits.

@joshlf joshlf added the compatibility-nonbreaking Changes that are (likely to be) non-breaking label Aug 12, 2023
@joshlf joshlf mentioned this issue Aug 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compatibility-nonbreaking Changes that are (likely to be) non-breaking
Projects
None yet
Development

No branches or pull requests

1 participant