aboutsummaryrefslogtreecommitdiff
path: root/examples/rust
Commit message (Collapse)AuthorAge
* Add note to Rust example explaining why functions are missing in the output ↵gh-10235narpfel2024-01-16
| | | | | | | | | | | (#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 (#2634)redzic2021-05-05
| | | | | | | * Make Rust examples more idiomatic * Make 'non-idiomatic' example match the aligned version * Rename examples
* More rust examples (#2482)Patrick Quist2021-03-11
| | | | | * more rust examples * Update default.rs
* 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
* Merge pull request #745 from jsheard/rust-exampleMatt Godbolt2018-09-29
|\ | | | | Simplify Rust sum_array examples
| * Add naive c-like version of Rust sum_array examplesJoshua Sheard2018-01-07
| |
| * Simplify Rust sum_array examplesJoshua Sheard2018-01-04
| |
* | Improve syntax highlight switching on AST and OptRabsRincon2018-03-28
|/
* Fix various points raised after code reviewsRabsRincon2017-12-09
| | | | Some fixes, a great slam and then some
* Add D examples and beautify all examples namesRubén2017-10-12
|
* Fix Rust examples for current nightlyVinzent Steinberg2016-03-02
| | | | Also remove trailing whitespaces.
* Fix up some rust syntax in the examplesMatt Godbolt2015-05-16
|
* Updated rust examplesMatt Godbolt2015-01-12
|
* Fix up rust example for 1.0Matt Godbolt2015-01-11
|
* Fix warnings in rust exampleMatt Godbolt2014-12-02
|
* Early rust supportMatt Godbolt2014-04-30