about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/coverageinfo/mod.rs
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2024-07-24 10:08:28 -0700
committerMichael Howell <michael@notriddle.com>2024-07-24 11:08:44 -0700
commit53846925cabfd730489e3902a2840826325a9a60 (patch)
tree61ce279861ee12fd82627f3d8c2559552704181c /compiler/rustc_codegen_llvm/src/coverageinfo/mod.rs
parent2ccafed862f6906707a390caf180449dd64cad2e (diff)
downloadrust-53846925cabfd730489e3902a2840826325a9a60.tar.gz
rust-53846925cabfd730489e3902a2840826325a9a60.zip
rustdoc: clean up and fix ord violations in item sorting
Based on e3fdafc263a4a705a3bec1a6865a4d011b2ec7c5 with a few
minor changes:

- The name sorting function is changed to follow the [version sort]
  from the style guide
- the `cmp` function is redesigned to more obviously make a
  partial order, by always return `cmp()` of the same variable as
  the `!=` above

[version sort]: https://doc.rust-lang.org/nightly/style-guide/index.html#sorting

Co-authored-by: Guillaume Gomez <guillaume1.gomez@gmail.com>
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/coverageinfo/mod.rs')
0 files changed, 0 insertions, 0 deletions