Skip to content

Conversation

@Techcable
Copy link
Member

Can only really implement ExactSizeIterator when the index is a u8. Maybe add some sort of FitsIn<usize> trait to work around this?

Could also piggyback on the IntIegerdEnum trait, adding the requirement the variant count fits in a usize.

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.

2 participants