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

FlatStack: use OffsetContainer iter #52

Merged
merged 1 commit into from
Jul 2, 2024
Merged

FlatStack: use OffsetContainer iter #52

merged 1 commit into from
Jul 2, 2024

Conversation

antiguru
Copy link
Owner

@antiguru antiguru commented Jul 2, 2024

Fix an oversight of #19: FlatStack's iterator should use the offset container's iterator associated type instead of relying on IntoIterator. This makes some of the trait bounds simpler and doesn't force downstream code to carry the bounds around.

@antiguru antiguru merged commit f609a31 into main Jul 2, 2024
8 checks passed
@antiguru antiguru deleted the flat_stack_iter branch July 2, 2024 17:44
This was referenced Jul 2, 2024
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.

1 participant