aboutsummaryrefslogtreecommitdiff
path: root/examples/rust/Max_array.rs
Commit message (Collapse)AuthorAge
* Fix Rust Max_array examples (#1960)Tony Yang2020-05-11
| | | | | | | | | * 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.
* Improve the Rust examplesChristopher Serr2020-03-26
| | | | | | | | This commit - formats the Rust examples idiomatically - uses idiomatic code - uses only safe code without compromising on performance - makes them compile on stable
* Add D examples and beautify all examples namesRubén2017-10-12