Skip to content

Commit 8fc5879

Browse files
committed
clippy
1 parent 61088f8 commit 8fc5879

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/symmetric/tweak_hash.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ pub trait TweakableHash {
7777
/// We start walking the chain at position `start_pos_in_chain` with `start`,
7878
/// and then walk the chain for `steps` many steps. For example, walking two steps
7979
/// with `start = A` would mean we walk A -> B -> C, and then return C.
80+
#[allow(clippy::too_long_first_doc_paragraph)]
8081
pub fn chain<TH: TweakableHash>(
8182
parameter: &TH::Parameter,
8283
epoch: u32,

src/symmetric/tweak_hash_tree.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -562,6 +562,7 @@ where
562562

563563
/// Function to compute a Merkle authentication path from a tree that is
564564
/// splitted into top tree and bottom trees.
565+
#[must_use]
565566
pub fn combined_path<TH: TweakableHash>(
566567
top_tree: &HashSubTree<TH>,
567568
bottom_tree: &HashSubTree<TH>,

0 commit comments

Comments
 (0)