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 range-based iteration #298

Closed
wants to merge 1 commit into from
Closed

Add range-based iteration #298

wants to merge 1 commit into from

Conversation

mherzl
Copy link
Contributor

@mherzl mherzl commented Nov 11, 2024

create iter_range

add tests from #290

Copy link
Member

@Kerollmops Kerollmops left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the PR @mherzl,

I think I'll have to bump the minimal supported Rust version to v1.67 so that the CI passes again 🤔

@@ -190,6 +191,10 @@ impl Iter<'_> {
pub fn advance_back_to(&mut self, n: u32) {
advance_back_to_impl(n, &mut self.front, &mut self.containers, &mut self.back);
}

pub fn empty() -> Iter<'static> {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be possible to add a bit of documentation to this method, please?

@Kerollmops
Copy link
Member

Sorry for that @mherzl but I will merge #297 as it was created earlier and there are more comments and discussions there.

I'm sorry about this. Closing this one.
Have a nice day 🌹

@Kerollmops Kerollmops closed this Nov 12, 2024
@mherzl
Copy link
Contributor Author

mherzl commented Nov 12, 2024

It's alright @Kerollmops. Maybe I'll come up with another feature to add at some point.

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