You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: Replace matches! on fieldless enums with == (#20525)
## Which issue does this PR close?
N/A
## Rationale for this change
When comparing a value with a field-less enum that implements
`PartialEq`, `==` is simpler and more readable than `matches!`.
## What changes are included in this PR?
## Are these changes tested?
Yes.
## Are there any user-facing changes?
No.
0 commit comments