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

Derive PartialEq, Eq and Hash for RangeInclusive #70166

Merged
merged 2 commits into from
Mar 21, 2020

Commits on Mar 19, 2020

  1. Derive PartialEq, Eq and Hash for RangeInclusive

    The manual implementation of PartialEq, Eq and Hash for RangeInclusive was functionally equivalent to a derived implementation.
    
    This change removes the manual implementation and adds the respective derives.
    A side effect of this change is that the derives also add implementations for StructuralPartialEq and StructuralEq, which enables RangeInclusive to be used in const generics.
    CDirkx committed Mar 19, 2020
    Configuration menu
    Copy the full SHA
    bd6deaa View commit details
    Browse the repository at this point in the history
  2. Removed unused Hasher import.

    CDirkx committed Mar 19, 2020
    Configuration menu
    Copy the full SHA
    6570e27 View commit details
    Browse the repository at this point in the history