rust/src/libcore/iter
Matthew Piziak 50e0fbc904 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
2016-08-26 11:54:32 -04:00
..
iterator.rs Use #[prelude_import] in libcore. 2016-08-24 22:12:23 +00:00
mod.rs Use #[prelude_import] in libcore. 2016-08-24 22:12:23 +00:00
range.rs accumulate vector and assert for RangeFrom and RangeInclusive examples 2016-08-26 11:54:32 -04:00
sources.rs Use #[prelude_import] in libcore. 2016-08-24 22:12:23 +00:00
traits.rs Use #[prelude_import] in libcore. 2016-08-24 22:12:23 +00:00