Skip to content

Commit

Permalink
Relax indexmap PartialEq bounds so value doesn't need to be Eq
Browse files Browse the repository at this point in the history
  • Loading branch information
YuhanLiin committed Jul 14, 2024
1 parent 1c47ffc commit d493721
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/indexmap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1232,7 +1232,7 @@ impl<K, V, S, S2, const N: usize, const N2: usize> PartialEq<IndexMap<K, V, S2,
for IndexMap<K, V, S, N>
where
K: Eq + Hash,
V: Eq,
V: PartialEq,
S: BuildHasher,
S2: BuildHasher,
{
Expand Down

0 comments on commit d493721

Please sign in to comment.