diff options
| author | blake2-ppc <blake2-ppc> | 2013-07-13 04:29:31 +0200 |
|---|---|---|
| committer | blake2-ppc <blake2-ppc> | 2013-07-13 06:23:38 +0200 |
| commit | 36f20423c31601c7b2e4f94368e79f44146cb064 (patch) | |
| tree | 2f453243f6413acabc284a0b51403888a72edd29 /src/rt/rust_kernel.cpp | |
| parent | 1ee54a86171d70f439b3cf77e566150b78251bc2 (diff) | |
| download | rust-36f20423c31601c7b2e4f94368e79f44146cb064.tar.gz rust-36f20423c31601c7b2e4f94368e79f44146cb064.zip | |
cmp: Use default methods in trait Ord, only require Ord::lt
It will be simpler to implement only one method for Ord, while we also allow implementing all four Ord methods for semantics or performance reasons. We only supply three default methods (and not four), because don't have any nice error reporting for the case where at least one method must be implemented, but it's arbitrary which.
Diffstat (limited to 'src/rt/rust_kernel.cpp')
0 files changed, 0 insertions, 0 deletions
