Manishearth / elsa

Append-only collections for Rust where borrows to entries can outlive insertions
Apache License 2.0
228 stars 33 forks source link

Fixes for PartialEq for frozen map and vec #72

Closed aminya closed 1 year ago

aminya commented 1 year ago

Previously the pointers were being compared, which is not what PartialEq should do. This fixes the issue by dereferencing the maps and vectors before comparing them.

It also adds the missing impl for FrozenBTreeMap, which was missed during conflict fixes.