Why are IterMut iterator loops allowed to use aliasing &mut references?

· Users Rust Lang · Nov. 25, 2026, 10:36 p.m.
Summary
The blog post discusses Rust's borrowing rules in relation to the IterMut iterator loops, questioning how mutable references can be aliased. It highlights an example with mutable references and explores whether exclusive borrowing has to end before a second borrow can occur, making an insightful observation on Rust's borrowing semantics.