Skip to content

Commit

Permalink
Merge pull request #8 from compiler-errors-contrib/fix
Browse files Browse the repository at this point in the history
Remove (incorrect) unused `?Sized` bound
  • Loading branch information
nkconnor authored Aug 7, 2024
2 parents 65adf3a + f773c2a commit 5408234
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ const DEFAULT_SHARD_COUNT: usize = 128;
#[inline]
fn equivalent_key<K, V>(k: &K) -> impl Fn(&(K, V)) -> bool + '_
where
K: ?Sized + Eq,
K: Eq,
{
move |x| k.eq(x.0.borrow())
}
Expand Down

0 comments on commit 5408234

Please sign in to comment.