Skip to content

Commit

Permalink
Use link to CompactTarget in rustdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
tcharding committed Apr 2, 2024
1 parent 684b453 commit 2a6821b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bitcoin/src/pow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ impl Target {
/// The maximum **attainable** target value on mainnet.
///
/// Not all target values are attainable because consensus code uses the compact format to
/// represent targets (see `CompactTarget`).
/// represent targets (see [`CompactTarget`]).
pub const MAX_ATTAINABLE_MAINNET: Self = Target(U256(0xFFFF_u128 << (208 - 128), 0));

/// The proof of work limit on testnet.
Expand Down

0 comments on commit 2a6821b

Please sign in to comment.