Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UB fix: remove impl Zeroable for Infallible
It is not enough for a type to be a ZST to guarantee that zeroed memory is a valid value for it; it must also be inhabited. Creating a value of an uninhabited type, ZST or no, is immediate UB.
- Loading branch information