about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorLukas Bergdoll <lukas.bergdoll@gmail.com>2024-07-31 11:28:11 +0200
committerLukas Bergdoll <lukas.bergdoll@gmail.com>2024-07-31 11:36:57 +0200
commitafc404fdfc1559b4ba2846a054347e806bb8f465 (patch)
treef95eb1b707d1c2719bf480a2928a6dc11d124982 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent00ce238885825e5e987dbcd4fef266e96157303d (diff)
downloadrust-afc404fdfc1559b4ba2846a054347e806bb8f465.tar.gz
rust-afc404fdfc1559b4ba2846a054347e806bb8f465.zip
Apply review comments
- Use if the implementation of [`Ord`] for `T`
  language
- Link to total order wiki page
- Rework total order help and examples
- Improve language to be more precise and less
  prone to misunderstandings.
- Fix usage of `sort_unstable_by` in `sort_by`
  example
- Fix missing author mention
- Use more consistent example input for sort
- Use more idiomatic assert_eq! in examples
- Use more natural "comparison function" language
  instead of "comparator function"
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions