mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-12-01 11:36:08 -06:00
* Fix Max_array.rs iter_mut is not necessary The previous example failed to compile as `y` was not borrowed as a mutable reference but used to produce a mutable iterator. Changing from `iter_mut()` to `iter()` resolved this issue. * Fix Max_array_(Optimized).rs The previous example failed to compile as `y` was not borrowed as a mutable reference but used to produce a mutable iterator. Changing from `iter_mut()` to `iter()` resolved this issue.