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…
0 comments
No comments yet.
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…
No comments yet.