diff --git a/lib/crypto/src/merkle/keccak.rs b/lib/crypto/src/merkle/keccak.rs index ae37c273e..bbff41dcd 100644 --- a/lib/crypto/src/merkle/keccak.rs +++ b/lib/crypto/src/merkle/keccak.rs @@ -1,4 +1,4 @@ -//! An interface to the default hasing algorithm used in this library's [merkle +//! An interface to the default hashing algorithm used in this library's [merkle //! proofs][super]. use tiny_keccak::{Hasher as TinyHasher, Keccak}; diff --git a/lib/crypto/src/merkle/mod.rs b/lib/crypto/src/merkle/mod.rs index cbc26176a..b3a332629 100644 --- a/lib/crypto/src/merkle/mod.rs +++ b/lib/crypto/src/merkle/mod.rs @@ -195,7 +195,7 @@ where /// /// WARNING: This is a lower-level function. For most use cases, /// [`Verifier::verify`], which uses `keccak256` as a hashing algorithm, - /// should be enough. Using other hasing algorithm may have unexpected + /// should be enough. Using other hashing algorithm may have unexpected /// results. /// /// # Arguments @@ -243,7 +243,7 @@ where /// /// WARNING: This is a lower-level function. For most use cases, /// [`Verifier::verify_multi_proof`], which uses `keccak256` as a hashing - /// algorithm, should be enough. Using other hasing algorithm may have + /// algorithm, should be enough. Using other hashing algorithm may have /// unexpected results. /// /// The `proof` must contain the sibling hashes one would need to rebuild