4 ms·
Rust statically enforces that you have exclusive access to a collection to mutate it. This prevents also having an active iterator. You also have languages usi
by demurgos 2y ago
Rust statically enforces that you have exclusive access to a collection to mutate it. This prevents also having an active iterator.
You also have languages using immutable or persistent data structures in their std lib to side-step the problem.