From 9cb5d2e711589d118264732c4c73faec72573179 Mon Sep 17 00:00:00 2001 From: Alexis Sellier Date: Mon, 1 Jun 2020 21:26:52 +0200 Subject: [PATCH] Link type in rustdoc --- src/blockdata/block.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/blockdata/block.rs b/src/blockdata/block.rs index 64392a10..5a415594 100644 --- a/src/blockdata/block.rs +++ b/src/blockdata/block.rs @@ -155,7 +155,9 @@ impl BlockHeader { Self::u256_from_compact_target(self.bits) } - /// Computes the target value in Uint256 format, from a compact representation. + /// Computes the target value in [`Uint256`] format, from a compact representation. + /// + /// [`Uint256`]: ../../util/uint/struct.Uint256.html /// /// ``` /// use bitcoin::blockdata::block::BlockHeader;