You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 implementTrustedLen
for these iterators as well. For this to happen, channel probing will need to land on theautocfg
side first.The text was updated successfully, but these errors were encountered: