mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-28 20:16:58 +03:00
7193ce0061
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`
For more information about how rustc works, see the rustc dev guide.