From 8203185eb9c41eb66796418bb3f18e9ae0eb541d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Florkiewicz?= Date: Fri, 13 Dec 2024 17:16:33 +0100 Subject: [PATCH] Apply suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Maciej Zwoliński Signed-off-by: Mikołaj Florkiewicz --- types/src/blob/commitment.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/src/blob/commitment.rs b/types/src/blob/commitment.rs index 0f03adb7..fb21b4f5 100644 --- a/types/src/blob/commitment.rs +++ b/types/src/blob/commitment.rs @@ -55,7 +55,7 @@ use crate::{InfoByte, Share}; #[cfg_attr(all(feature = "wasm-bindgen", target_arch = "wasm32"), wasm_bindgen)] #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] pub struct Commitment { - /// hash of the commitment + /// Hash of the commitment hash: merkle::Hash, } @@ -115,7 +115,7 @@ impl Commitment { Ok(Commitment { hash }) } - /// hash of the commitment + /// Hash of the commitment pub fn hash(&self) -> &merkle::Hash { &self.hash }