Skip to content

Commit 54a681c

Browse files
YuhanLiinreitermarkus
authored andcommitted
Relax indexmap PartialEq bounds so value doesn't need to be Eq
1 parent 877db42 commit 54a681c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/indexmap.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1280,7 +1280,7 @@ impl<K, V, S, S2, const N: usize, const N2: usize> PartialEq<IndexMap<K, V, S2,
12801280
for IndexMap<K, V, S, N>
12811281
where
12821282
K: Eq + Hash,
1283-
V: Eq,
1283+
V: PartialEq,
12841284
S: BuildHasher,
12851285
S2: BuildHasher,
12861286
{

0 commit comments

Comments
 (0)