Implement `IntoBytes` for `MaybeUninit<T>` where `T` is a ZST?
Open
compatibility-nonbreaking
- Dominant language
- Rust
- Stars
- 2.6k
- Forks
- 179
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 29
Description
*See also: #1316*
It would probably be sound to implement `AsBytes` for `MaybeUninit` 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.
Contributor guide
Assessment
This issue has not been assessed yet.