diff options
| author | Andrea Canciani <ranma42@gmail.com> | 2015-09-15 15:11:07 +0200 |
|---|---|---|
| committer | Andrea Canciani <ranma42@gmail.com> | 2015-09-16 11:26:56 +0200 |
| commit | 1614173b589620ba33aa91c49ea82513067566fb (patch) | |
| tree | 1c234a55dfad5ab123761d8d04f3a55de2820d2b /src/libsyntax/errors | |
| parent | 0f1f5fc746919b15e619cfcfd4cd939ef47f58bd (diff) | |
| download | rust-1614173b589620ba33aa91c49ea82513067566fb.tar.gz rust-1614173b589620ba33aa91c49ea82513067566fb.zip | |
Specialize `PartialOrd` for totally ordered primitive types
Knowing the result of equality comparison can enable additional optimizations in LLVM. Additionally, this makes it obvious that `partial_cmp` on totally ordered types cannot return `None`.
Diffstat (limited to 'src/libsyntax/errors')
0 files changed, 0 insertions, 0 deletions
