rust-embedded / heapless

Heapless, `static` friendly data structures
Apache License 2.0
1.52k stars 181 forks source link

Relax indexmap PartialEq bounds so value doesn't need to be Eq #503

Open YuhanLiin opened 2 months ago

YuhanLiin commented 2 months ago

The old bounds were unnecessarily strict. This PR relaxes the V: Eq bound to V: PartialEq.

reitermarkus commented 2 months ago

Can you add a test for something that didn't work before?