From: Jonathan Turner Date: Wed, 31 Aug 2016 13:29:08 +0000 (-0700) Subject: Rollup merge of #35758 - matthew-piziak:vec-assert-over-println-remaining, r=Guillaum... X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=45ca620383ce8f9a5de33c09096bcfddd55fd3d1;p=rust.git Rollup merge of #35758 - matthew-piziak:vec-assert-over-println-remaining, r=GuillaumeGomez 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..`. --- 45ca620383ce8f9a5de33c09096bcfddd55fd3d1