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
The nonminimal_bool lint suggests to minimize the following expression !(a <= b) into a > b. While this is a proper improvement for types implementing Ord it doesn't fit for all types of PartialOrd and would actually change the result of the expression as it means 'greater or incomparable' and not just 'greater'.
Maybe clippy should instead suggest to rewrite the expression using the partial_cmp() method and a match statement.