mutable
3 stories and discussions about mutable, aggregated from every source we track.
1.
2.
3.
Why can a method that takes &mut self call another method that takes &mut self? If mutable references can’t be copied, how is this possible? This article explores Rust’s core invariant Aliasing XOR Mutability, and…