DEV Community

Discussion on: Pirrigator, part 7: Problems emerge

Collapse
 
jeikabu profile image
jeikabu

In one instance I switched from iter() to into_iter() to change the first reference into a move.
May not work for you in this case, but when ref and mut get out of hand don't forget copy/clone/move.