about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorCDirkx <christiaan@dirkx.com>2020-03-19 20:45:47 +0100
committerCDirkx <christiaan@dirkx.com>2020-03-19 20:45:47 +0100
commitbd6deaa08df8335242ca1e9715ded87e361df347 (patch)
tree6115663742044410f2e6d1661448357569f9e92f /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parentf4c675c476c18b1a11041193f2f59d695b126bc8 (diff)
downloadrust-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