about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/coverageinfo/mod.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-07-24 20:15:26 +0000
committerbors <bors@rust-lang.org>2024-07-24 20:15:26 +0000
commitc1a6199e9d92bb785c17a6d7ffd8b8b552f79c10 (patch)
tree9fa26885a8fcb9c1decc5544f71229d6bc3016a1 /compiler/rustc_codegen_llvm/src/coverageinfo/mod.rs
parent6106b05b27988f4b946d7af219a6db95fb4477a1 (diff)
parent53846925cabfd730489e3902a2840826325a9a60 (diff)
downloadrust-c1a6199e9d92bb785c17a6d7ffd8b8b552f79c10.tar.gz
rust-c1a6199e9d92bb785c17a6d7ffd8b8b552f79c10.zip
Auto merge of #128146 - notriddle:notriddle/natsortfixes, r=GuillaumeGomez
rustdoc: clean up and fix ord violations in item sorting

Based on https://github.com/rust-lang/rust/pull/128139 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
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/coverageinfo/mod.rs')
0 files changed, 0 insertions, 0 deletions