diff options
| author | Michael Wright <mikerite@lavabit.com> | 2021-10-30 06:22:19 +0200 |
|---|---|---|
| committer | Michael Wright <mikerite@lavabit.com> | 2021-10-30 06:22:19 +0200 |
| commit | e8c4046841b43e4b3ea3ff8f5c22858f34c8fe9f (patch) | |
| tree | 0fa961c9d63ed644b92f79f69d9f7b80cae9bae5 /compiler/rustc_codegen_llvm/src/coverageinfo/mod.rs | |
| parent | 4a86156c66a8cb66da85ffe68b90bd0f643e441b (diff) | |
| download | rust-e8c4046841b43e4b3ea3ff8f5c22858f34c8fe9f.tar.gz rust-e8c4046841b43e4b3ea3ff8f5c22858f34c8fe9f.zip | |
Simplify FullInt Ord impl
`cmp_s_u` is a tiny helper function only used by `cmp` and isn't useful on it's own. Making it a nested function of `cmp` makes that clear and as a bonus it's easier to call and doesn't require a `#[must_use]` attribute.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/coverageinfo/mod.rs')
0 files changed, 0 insertions, 0 deletions
