mutable

3 stories and discussions about mutable, aggregated from every source we track.

1.
24 points•ibobev•2 months ago•34 comments•
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…

2 points•nazmulidris•2 months ago•0 comments•

Related topics