elsa icon indicating copy to clipboard operation
elsa copied to clipboard

FrozenBTreeMap says Hash and Eq must match

Open Kyuuhachi opened this issue 1 year ago • 1 comments

FrozenBTreeMap::get says

The key may be any borrowed form of the map’s key type, but Hash and Eq on the borrowed form must match those for the key type.

But Hash and Eq have nothing to do with a BTreeMap; that ought to be Ord, no? Probably a copypaste error.

Kyuuhachi avatar Aug 28 '24 12:08 Kyuuhachi

Yeah, sounds like a bug

Manishearth avatar Aug 28 '24 16:08 Manishearth