Open x4exr opened 1 week ago
I suspect that the code example is slightly incorrect, as the .0
part after .peek_index()
implies it returns a tuple.
Also I think a signature of the added function(s) would be a better fit than a usage example for the "Public API" section, (I'm not a team member though, so I might be wrong).
That was a typo on my part lol, thanks for catching that
Feature gate:
#![feature(peek_index)]
This is a tracking issue for the new
peek_index
function on the Enumerate iterator.Public API
Steps / History
Unresolved Questions