Link type in rustdoc

This commit is contained in:
Alexis Sellier 2020-06-01 21:26:52 +02:00 committed by Sebastian
parent e8cecfe1d3
commit 9cb5d2e711
1 changed files with 3 additions and 1 deletions

View File

@ -155,7 +155,9 @@ impl BlockHeader {
Self::u256_from_compact_target(self.bits) 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; /// use bitcoin::blockdata::block::BlockHeader;