How can I fix the error "xxx was mutably borrowed here in the previous iteration of the loop"?

Thank you!

This is a question for the users forum.

Additionally, please provide textual copies of the code in question, rather than an image, and provide enough context to reproduce the issue (in this case, function signatures are necessary to understand the issue).

3 Likes