]> Untitled Git - bdk/commitdiff
[docs] Add docs to the 'template' module
authorSteve Myers <steve@notmandatory.org>
Mon, 14 Dec 2020 04:35:59 +0000 (20:35 -0800)
committerSteve Myers <steve@notmandatory.org>
Mon, 14 Dec 2020 04:41:32 +0000 (20:41 -0800)
src/descriptor/template.rs

index 9dbbf1534627e2c1e25bc6df724a9583cc8ed4a9..48609c198864e93cdc715efd07c68ebc1ea60fac 100644 (file)
@@ -60,6 +60,7 @@ pub type DescriptorTemplateOut = (ExtendedDescriptor, KeyMap, ValidNetworks);
 /// }
 /// ```
 pub trait DescriptorTemplate {
+    /// Build the complete descriptor
     fn build(self) -> Result<DescriptorTemplateOut, KeyError>;
 }