by stub_out · 3mo ago · 0 comments
So an iterator takes an immutable reference to the vector and mutation requires a mut ref, and you can't have both at the same time.