-
Notifications
You must be signed in to change notification settings - Fork 183
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 VarZeroSliceIter, ZeroSliceIter #5924
Conversation
1b3849c
to
dcd3b9c
Compare
Some(item) | ||
} | ||
|
||
fn size_hint(&self) -> (usize, Option<usize>) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Praise: Thanks for adding size_hint
; this is an improvement over what we had before, I think
thought: these could be VarZeroIter, ZeroIter as well. I'm not actually a fan of the stdlib calling all of its iterators unqualified Iter, though, so being verbose here is fine for me |
well, it's an iterator over specifically a VarZeroSlice, not a VarTupleULE or some other VarULE container. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think VarZeroSliceIter
and ZeroSliceIter
are the right names
Fixes #4487