Closed llogiq closed 4 years ago
I tried to use abomonation in a benchmark, which unfortunately didn't work, because my benchmark object had a field of type Range. So here's some code to implement the Abomonation trait for ranges.
Range
Abomonation
This looks idiomatic, thanks very much!
I tried to use abomonation in a benchmark, which unfortunately didn't work, because my benchmark object had a field of type
Range
. So here's some code to implement theAbomonation
trait for ranges.