Report post #6 in Rust: cannot push to Vec while I hold reference to element, but why
Next problem then. My real code is a list of particles, and each one should look at its neighbours and change itself. for p in particles.iter_mut() { for q in particles.iter() { ... } } Same error of course. What is the normal way to do this?