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 the underdocumented feature of reborrowing in Rust's IterMut iterator loops, highlighting its necessity for enabling exclusive borrowing patterns and improving usability within the language. It emphasizes the importance of this feature in making certain programming patterns feasible.