Closed toyboot4e closed 3 years ago
I think that because iterator adapters are easy in Rust, it's probably okay to have just the one type of iterator method for now.
We can revisit this in the future if the need arises. What do you think?
Yes, it makes sense to me. Thank you for the clarification :)
thunderdome::Iter
returns(Index, &T)
pair. Iterator of&T
would also be useful.Arena
API design choices would be:iter
onlyiter
+values
iter
+indexed_values
(swapped version of 2.)