about summary refs log tree commit diff
path: root/src/test/run-pass/thinlto
diff options
context:
space:
mode:
authorMatthew Piziak <matthew.piziak@gmail.com>2016-08-17 14:12:19 -0400
committerMatthew Piziak <matthew.piziak@gmail.com>2016-08-26 11:54:32 -0400
commit50e0fbc9042856527dc35a0dfd9a7716dcf69ccd (patch)
tree94435efec5aa505fe631296b5096c6689d411334 /src/test/run-pass/thinlto
parenteaf71f8d1034f16140791f566cab3f3c9a0bf96a (diff)
downloadrust-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