From 6d0d0fe51f8b642a3ab580653def8280d25344df Mon Sep 17 00:00:00 2001 From: "jamil.lambert" Date: Thu, 16 May 2024 10:35:30 +0100 Subject: [PATCH] Fix rustdoc header format By convention rustdoc headers should not include a colon. Removed colon from rustdoc headers. --- bitcoin/src/taproot/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bitcoin/src/taproot/mod.rs b/bitcoin/src/taproot/mod.rs index 87318ada4..d21681974 100644 --- a/bitcoin/src/taproot/mod.rs +++ b/bitcoin/src/taproot/mod.rs @@ -389,12 +389,12 @@ impl TaprootBuilder { /// example, [(3, S1), (2, S2), (5, S3)] would construct a [`TapTree`] that has optimal /// satisfaction weight when probability for S1 is 30%, S2 is 20% and S3 is 50%. /// - /// # Errors: + /// # Errors /// /// - When the optimal Huffman Tree has a depth more than 128. /// - If the provided list of script weights is empty. /// - /// # Edge Cases: + /// # Edge Cases /// /// If the script weight calculations overflow, a sub-optimal tree may be generated. This should /// not happen unless you are dealing with billions of branches with weights close to 2^32. @@ -467,7 +467,7 @@ impl TaprootBuilder { /// Converts the builder into a [`NodeInfo`] if the builder is a full tree with possibly /// hidden nodes /// - /// # Errors: + /// # Errors /// /// [`IncompleteBuilderError::NotFinalized`] if the builder is not finalized. The builder /// can be restored by calling [`IncompleteBuilderError::into_builder`]