Link type in rustdoc
This commit is contained in:
parent
e8cecfe1d3
commit
9cb5d2e711
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue