diff options
| author | est31 <MTest31@outlook.com> | 2020-11-01 14:27:36 +0100 |
|---|---|---|
| committer | est31 <MTest31@outlook.com> | 2020-11-01 18:45:17 +0100 |
| commit | a79059d42d8f6b1e2c2f109aa55a8ff98f4eb453 (patch) | |
| tree | 89173015ce6e221659e9405096303915d7c1b989 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | 4d247ad7d3d2a9f72cd60e281f39b5d85bd6a463 (diff) | |
| download | rust-a79059d42d8f6b1e2c2f109aa55a8ff98f4eb453.tar.gz rust-a79059d42d8f6b1e2c2f109aa55a8ff98f4eb453.zip | |
Point out that total_cmp is no strict superset of partial comparison
Partial comparison and total_cmp are not equal. This helps preventing the mistake of creating float wrappers that base their Ord impl on total_cmp and their PartialOrd impl on the PartialOrd impl of the float type. PartialOrd and Ord are required to agree with each other.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
