isagalaev ("Ivan Sagalaev") wrote:
Just brute-forced myself through deriving Ord, PartialOrd, Eq, PartialEq for my tiny struct to make it acceptable for a BinaryHeap. This is some ridiculous amount of incomprehensible boilerplate :-(
#rust
isagalaev ("Ivan Sagalaev") wrote:
Just brute-forced myself through deriving Ord, PartialOrd, Eq, PartialEq for my tiny struct to make it acceptable for a BinaryHeap. This is some ridiculous amount of incomprehensible boilerplate :-(
#rust