From 2e04610be3369c2a4c2af94b9546cb69657416cc Mon Sep 17 00:00:00 2001 From: Henry de Valence Date: Thu, 23 Jan 2020 13:07:05 -0800 Subject: [PATCH] Fix doc errors (missing links, etc). --- zebra-chain/src/transaction/joinsplit.rs | 4 +++- zebra-chain/src/transaction/shielded_data.rs | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/zebra-chain/src/transaction/joinsplit.rs b/zebra-chain/src/transaction/joinsplit.rs index b54c4c22..8ca6bc9e 100644 --- a/zebra-chain/src/transaction/joinsplit.rs +++ b/zebra-chain/src/transaction/joinsplit.rs @@ -40,7 +40,9 @@ pub struct JoinSplit { /// /// XXX refine type to [T; 2] -- there are two macs pub vmacs: [[u8; 32]; 2], - /// A ZK JoinSplit proof, either a [`Groth16Proof`] or a [`Bctv14Proof`]. + /// A ZK JoinSplit proof, either a + /// [`Groth16Proof`](crate::proofs::Groth16Proof) or a + /// [`Bctv14Proof`](crate::proofs::Bctv14Proof). pub zkproof: P, /// A ciphertext component for this output note. /// diff --git a/zebra-chain/src/transaction/shielded_data.rs b/zebra-chain/src/transaction/shielded_data.rs index b1d13d7a..514f5ce2 100644 --- a/zebra-chain/src/transaction/shielded_data.rs +++ b/zebra-chain/src/transaction/shielded_data.rs @@ -30,7 +30,7 @@ pub struct SpendDescription { /// A _Output Description_, as described in [protocol specification ยง7.4][ps]. /// -/// https://zips.z.cash/protocol/protocol.pdf#outputencoding +/// [ps]: https://zips.z.cash/protocol/protocol.pdf#outputencoding #[derive(Clone, Debug, PartialEq, Eq)] pub struct OutputDescription { /// A value commitment to the value of the input note.