]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #35758 - matthew-piziak:vec-assert-over-println-remaining, r=Guillaum...
authorJonathan Turner <jonathandturner@users.noreply.github.com>
Wed, 31 Aug 2016 13:29:08 +0000 (06:29 -0700)
committerGitHub <noreply@github.com>
Wed, 31 Aug 2016 13:29:08 +0000 (06:29 -0700)
accumulate vector and assert for RangeFrom and RangeInclusive examples

PR #35695 for `Range` was merged, 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..`.


Trivial merge