Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

accumulate vector and assert for RangeFrom and RangeInclusive examples #35758

Merged

Commits on Aug 26, 2016

  1. accumulate vector and assert for RangeFrom and RangeInclusive examples

    PR rust-lang#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
    matthew-piziak committed Aug 26, 2016
    Configuration menu
    Copy the full SHA
    50e0fbc View commit details
    Browse the repository at this point in the history