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

add enumerate #19

Merged
merged 1 commit into from
Dec 5, 2023
Merged

add enumerate #19

merged 1 commit into from
Dec 5, 2023

Conversation

ratmice
Copy link
Collaborator

@ratmice ratmice commented Dec 1, 2023

Here is a quick implementation of enumerate. The tests are I guess a bit wonky, but I wanted to test that we match the behavior for some of the std::iter::Enumerate's non-fused corner cases.

src/adapters/enumerate.rs Outdated Show resolved Hide resolved
@Crazytieguy
Copy link
Owner

Looks great! Sorry for the delay on the other PR, will try getting to it today

@ratmice
Copy link
Collaborator Author

ratmice commented Dec 1, 2023

Don't worry about delays at all, I'm just happy to help.

I went ahead and rebased out the interim change. I'm happy to merge as-is, but will leave it for a day or so in case anybody can think of anything else?

@ratmice ratmice merged commit 7998665 into Crazytieguy:master Dec 5, 2023
1 check passed
@ratmice
Copy link
Collaborator Author

ratmice commented Dec 5, 2023

Went ahead and merged this one.

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