Rust tip: if you implement `Borrow<B>` and `Hash` for a type `Ty`, then for all `x: Ty`, `hash(x) == hash(x.borrow())` must be true. If this property does not hold, then objects of type `Ty` won't work properly with hashmaps.
1
1
27
I may have spent several hours debugging this yesterday :-(
4
7