diff options
| author | CDirkx <christiaan@dirkx.com> | 2020-03-19 20:45:47 +0100 |
|---|---|---|
| committer | CDirkx <christiaan@dirkx.com> | 2020-03-19 20:45:47 +0100 |
| commit | bd6deaa08df8335242ca1e9715ded87e361df347 (patch) | |
| tree | 6115663742044410f2e6d1661448357569f9e92f /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | f4c675c476c18b1a11041193f2f59d695b126bc8 (diff) | |
| download | rust-bd6deaa08df8335242ca1e9715ded87e361df347.tar.gz rust-bd6deaa08df8335242ca1e9715ded87e361df347.zip | |
Derive PartialEq, Eq and Hash for RangeInclusive
The manual implementation of PartialEq, Eq and Hash for RangeInclusive was functionally equivalent to a derived implementation. This change removes the manual implementation and adds the respective derives. A side effect of this change is that the derives also add implementations for StructuralPartialEq and StructuralEq, which enables RangeInclusive to be used in const generics.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
