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

Remove Ord from ClosureKind #122237

Merged
merged 1 commit into from
Mar 9, 2024
Merged

Remove Ord from ClosureKind #122237

merged 1 commit into from
Mar 9, 2024

Commits on Mar 9, 2024

  1. Remove Ord from ClosureKind

    Using `Ord` to accomplish a meaning of subset relationship
    can be hard to read. The existing uses for that are easily
    replaced with a `match`, and in my opinion, more readable
    without needing to resorting to comments to explain the
    intention.
    fee1-dead committed Mar 9, 2024
    Configuration menu
    Copy the full SHA
    7e1969a View commit details
    Browse the repository at this point in the history