Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinheavey committed Nov 16, 2024
1 parent 9607c2d commit 9182994
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sdk/keccak-hasher/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ impl From<solana_hash::Hash> for Hash {
}
}

impl Into<solana_hash::Hash> for Hash {
fn into(self) -> solana_hash::Hash {
solana_hash::Hash::new_from_array(self.0)
impl From<Hash> for solana_hash::Hash {
fn from(val: Hash) -> Self {
Self::new_from_array(val.0)
}
}

Expand Down

0 comments on commit 9182994

Please sign in to comment.