Skip to content

Commit

Permalink
Don't require BuildHasher in BorshSerialize
Browse files Browse the repository at this point in the history
  • Loading branch information
cuviper authored and sug0 committed Feb 29, 2024
1 parent b8b1f52 commit 32793f1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/borsh.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ impl<K, V, H> BorshSerialize for IndexMap<K, V, H>
where
K: BorshSerialize,
V: BorshSerialize,
H: BuildHasher,
{
#[inline]
fn serialize<W: Write>(&self, writer: &mut W) -> Result<()> {
Expand Down Expand Up @@ -55,7 +54,6 @@ where
impl<T, H> BorshSerialize for IndexSet<T, H>
where
T: BorshSerialize,
H: BuildHasher,
{
#[inline]
fn serialize<W: Write>(&self, writer: &mut W) -> Result<()> {
Expand Down

0 comments on commit 32793f1

Please sign in to comment.