From 60e8e2b659321f2f4a1efb6f55c40d2228bef375 Mon Sep 17 00:00:00 2001 From: Nikolai Golub Date: Tue, 18 Jun 2024 17:17:55 +0200 Subject: [PATCH] More grammar fixes --- src/namespaced_hash.rs | 2 +- src/nmt_proof.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/namespaced_hash.rs b/src/namespaced_hash.rs index d8b6b78..78b0ef2 100644 --- a/src/namespaced_hash.rs +++ b/src/namespaced_hash.rs @@ -60,7 +60,7 @@ impl Default for NamespacedSha2Hasher { } } -/// An extension of [`MerkleHash`] indicating the hasher is namespace aware. This allows for the creation of +/// An extension of [`MerkleHash`] indicating that the hasher is namespace aware. This allows for the creation of /// namespaced merkle trees and namespaced merkle proofs. pub trait NamespaceMerkleHasher: MerkleHash { /// Create a new hasher which ignores the max namespace diff --git a/src/nmt_proof.rs b/src/nmt_proof.rs index 3ce8fb7..fd3fde7 100644 --- a/src/nmt_proof.rs +++ b/src/nmt_proof.rs @@ -29,7 +29,7 @@ pub enum NamespaceProof { proof: Proof, /// Whether to treat the maximum possible namespace as a special marker value and ignore it in computing namespace ranges ignore_max_ns: bool, - /// A leaf that *is* present in the tree, if the namesapce being proven absent falls within + /// A leaf that *is* present in the tree, if the namespace being proven absent falls within /// the namespace range covered by the root. leaf: Option>, },