| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
| |
(#6013)
Resolves #5939.
Rust issue about this problem:
https://github.com/rust-lang/rust/issues/119850
Hopefully this can be reverted again when there is a fix on the Rust
side.
|
|
|
|
|
|
|
| |
* Make Rust examples more idiomatic
* Make 'non-idiomatic' example match the aligned version
* Rename examples
|
|
|
|
|
| |
* more rust examples
* Update default.rs
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
This commit
- formats the Rust examples idiomatically
- uses idiomatic code
- uses only safe code without compromising on performance
- makes them compile on stable
|
|\
| |
| | |
Simplify Rust sum_array examples
|
| | |
|
| | |
|
|/ |
|
|
|
|
| |
Some fixes, a great slam and then some
|
| |
|
|
|
|
| |
Also remove trailing whitespaces.
|
| |
|
| |
|
| |
|
| |
|
|
|