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

Add Range[Inclusive]::is_empty #48087

Merged
merged 5 commits into from
Feb 15, 2018
Merged

Commits on Feb 9, 2018

  1. Add Range[Inclusive]::is_empty

    During the RFC, it was discussed that figuring out whether a range is empty was subtle, and thus there should be a clear and obvious way to do it.  It can't just be ExactSizeIterator::is_empty (also unstable) because not all ranges are ExactSize -- not even Range<i32> or RangeInclusive<usize>.
    scottmcm committed Feb 9, 2018
    Configuration menu
    Copy the full SHA
    4f8049a View commit details
    Browse the repository at this point in the history
  2. Fix tidy

    scottmcm committed Feb 9, 2018
    Configuration menu
    Copy the full SHA
    7fe182f View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2018

  1. Configuration menu
    Copy the full SHA
    b5cb393 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6f70a11 View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2018

  1. Configuration menu
    Copy the full SHA
    22b0489 View commit details
    Browse the repository at this point in the history