SIGN IN SIGN UP
rust-lang / rust UNCLAIMED

Empowering everyone to build reliable and efficient software.

0 0 67 Rust

Rollup merge of #122237 - fee1-dead-contrib:rmord, r=compiler-errors

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.

cc `@compiler-errors`
M
Matthias Krüger committed
7193ce0061625647166281b1965cfa320e170eb7
Committed by GitHub <noreply@github.com> on 3/9/2024, 3:21:21 PM