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 |
||
|---|---|---|
| .. | ||
| iterator.rs | ||
| mod.rs | ||
| range.rs | ||
| sources.rs | ||
| traits.rs | ||