summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorDeadbeef <ent3rm4n@gmail.com>2024-03-09 21:16:18 +0800
committerDeadbeef <ent3rm4n@gmail.com>2024-03-09 21:16:43 +0800
commit7e1969ac13b94694bb6c9315dcecdc6b0ee344ad (patch)
tree15594d8127a5c4e4b4160e042b1e40e506ff4a8b /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent09bc67b9158392361780e779d32997f14cc75c39 (diff)
downloadrust-7e1969ac13b94694bb6c9315dcecdc6b0ee344ad.tar.gz
rust-7e1969ac13b94694bb6c9315dcecdc6b0ee344ad.zip
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.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions