Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cleanup: Avoid creating invalid enum values.
Enums should be fairly strong type guarantees about the possible value range. The API says the return value is unspecified, so this is not a breaking change.
- Loading branch information