From b15e49ef476f1a797548ac9a910362f72bff9093 Mon Sep 17 00:00:00 2001 From: Kris Nuttycombe Date: Tue, 8 Sep 2020 14:16:10 -0600 Subject: [PATCH] Documentation update to zcash_primitives/src/extensions/transparent.rs Co-authored-by: str4d --- zcash_primitives/src/extensions/transparent.rs | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/zcash_primitives/src/extensions/transparent.rs b/zcash_primitives/src/extensions/transparent.rs index d0ed46836..5eefbad2e 100644 --- a/zcash_primitives/src/extensions/transparent.rs +++ b/zcash_primitives/src/extensions/transparent.rs @@ -106,12 +106,14 @@ pub trait Extension { } } -// This extension trait is satisfied by the transaction::builder::Builder type. It provides a -// minimal contract for interacting with the transaction builder, that extension library authors -// can use to add extension-specific builder traits that may be used to interact with the -// transaction builder. This may make it simpler for projects that include transaction-builder -// functionality to integrate with third-party extensions without those extensions being coupled to -// a particular transaction or builder representation. +/// This extension trait is satisfied by [`transaction::builder::Builder`]. It provides a +/// minimal contract for interacting with the transaction builder, that extension library authors +/// can use to add extension-specific builder traits that may be used to interact with the +/// transaction builder. This may make it simpler for projects that include transaction-builder +/// functionality to integrate with third-party extensions without those extensions being coupled to +/// a particular transaction or builder representation. +/// +/// [`transaction::builder::Builder`]: crate::transaction::builder::Builder pub trait ExtensionTxBuilder<'a> { type BuildCtx; type BuildError;