Skip to content

Commit

Permalink
merkle: fix doc typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Feb 3, 2024
1 parent 7f2e245 commit ca68662
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions commit_verify/src/merkle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ use strict_encoding::StrictEncode;
use crate::digest::DigestExt;
use crate::{CommitId, CommitmentId, LIB_NAME_COMMIT_VERIFY};

/// Type of a merkle node branching.
/// Type of merkle node branching.
#[derive(Copy, Clone, Eq, PartialEq, Hash, Debug)]
#[derive(StrictDumb, StrictType, StrictEncode, StrictDecode)]
#[strict_type(lib = LIB_NAME_COMMIT_VERIFY, tags = repr, into_u8, try_from_u8)]
Expand Down Expand Up @@ -106,7 +106,7 @@ impl MerkleNode {
#[derive(Wrapper, Copy, Clone, Ord, PartialOrd, Eq, PartialEq, Hash, Debug, From)]
#[wrapper(Deref, BorrowSlice, Display, FromStr, Hex, Index, RangeOps)]
#[derive(StrictDumb, StrictType, StrictEncode, StrictDecode)]
#[strict_type(lib = LIB_NAME_COMMIT_VERIFY, dumb = Self(default!()))]
#[strict_type(lib = LIB_NAME_COMMIT_VERIFY)]
#[cfg_attr(
feature = "serde",
derive(Serialize, Deserialize),
Expand Down

0 comments on commit ca68662

Please sign in to comment.