Fix rustdoc header format

By convention rustdoc headers should not include a colon.

Removed colon from rustdoc headers.
This commit is contained in:
jamil.lambert 2024-05-16 10:35:30 +01:00
parent 44a6402875
commit 6d0d0fe51f
1 changed files with 3 additions and 3 deletions

View File

@ -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`]