-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Milestone
Description
Add an implementation for Iterator::size_hint() to the Iterators.
This should be fairly straight forward. The upper bound will be the length of the internal slice or vector, and the lower bound will be zero or one, depending on if iteration is completed yet.
Using autocfg, we may be able to implement TrustedLen for these iterators as well. For this to happen, channel probing will need to land on the autocfg side first.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers