diff options
| author | Matthew Piziak <matthew.piziak@gmail.com> | 2016-08-17 14:12:19 -0400 |
|---|---|---|
| committer | Matthew Piziak <matthew.piziak@gmail.com> | 2016-08-26 11:54:32 -0400 |
| commit | 50e0fbc9042856527dc35a0dfd9a7716dcf69ccd (patch) | |
| tree | 94435efec5aa505fe631296b5096c6689d411334 /src/test/run-pass/thinlto | |
| parent | eaf71f8d1034f16140791f566cab3f3c9a0bf96a (diff) | |
| download | rust-50e0fbc9042856527dc35a0dfd9a7716dcf69ccd.tar.gz rust-50e0fbc9042856527dc35a0dfd9a7716dcf69ccd.zip | |
accumulate vector and assert for RangeFrom and RangeInclusive examples
PR #35695 for `Range` was approved, so it seems that this side-effect-free style is preferred for Range* examples. This PR performs the same translation for `RangeFrom` and `RangeInclusive`. It also removes what looks to be an erroneously commented line for `#![feature(step_by)]`, and an unnecessary primitive-type annotation in `0u8..`. add `fn main` wrappers to enable Rust Playground "Run" button
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions
