diff options
| author | Corey Farwell <coreyf@rwell.org> | 2017-06-13 17:15:00 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-06-13 17:15:00 -0400 |
| commit | 7463cf5faf90c3f9c99077267520d53d73393591 (patch) | |
| tree | 625a705feecd4b55440294bc8226ad1da1d7bb4a /src/test/run-pass/thinlto | |
| parent | 78d5d3723567e57e82ba65d73d2bc8bbe7f5c017 (diff) | |
| parent | a32ffc679702e3ae307c7fc20873c9e970a8894c (diff) | |
| download | rust-7463cf5faf90c3f9c99077267520d53d73393591.tar.gz rust-7463cf5faf90c3f9c99077267520d53d73393591.zip | |
Rollup merge of #42496 - Razaekel:feature/integer_max-min, r=BurntSushi
Add max and min to Ord Pursuant to issue #25663, this PR adds max and min methods with default implementations to std::cmp::Ord. It also modifies std::cmp::max|min to internally alias to Ord::max|min, so that any overrides of the default implementations are automatically used by std::cmp::max|min. Closes #25663
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions
