Give many impl Iterator
return types an ExactSizeIterator bound
#66865
Labels
A-iterators
Area: Iterators
C-cleanup
Category: PRs that clean code up or issues documenting cleanup.
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
E.g. in https://github.com/rust-lang/miri/pull/1083/files?utf8=%E2%9C%93&diff=unified&w=1#r352037361 we had to use weird code to check that the iterator is the same length as a slice.
After changing the
fn args_iter
function to have an ExactSizeIterator bound, we should undo the hackThis issue has been assigned to @hashedone via this comment.
The text was updated successfully, but these errors were encountered: