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, PartialOrd, Ord, Hash #68

Merged
merged 2 commits into from
May 30, 2024

Commits on May 30, 2024

  1. Derive PartialEq, Eq, PartialOrd, Ord, Hash

    The derived implementations work now that the interior value is always
    fully masked[1].
    
    As a side effect, this makes consts eligible for pattern matching.
    
    [1]: rust-ux#65
    
    Closes: rust-ux#66
    chrysn committed May 30, 2024
    Configuration menu
    Copy the full SHA
    c1f82d9 View commit details
    Browse the repository at this point in the history
  2. tests: Add test for pattern matching

    See-Also: rust-ux#66
    chrysn committed May 30, 2024
    Configuration menu
    Copy the full SHA
    81871d0 View commit details
    Browse the repository at this point in the history