Merge rust-bitcoin/rust-bitcoin#2105: Trivial docs fixes

be8aee6968 Remove stale link (Tobin C. Harding)
7d54cd3485 Fix typo in docs (Tobin C. Harding)

Pull request description:

  Do 2 trivial docs fixes, found while investigating  #2103

ACKs for top commit:
  vincenzopalazzo:
    ACK be8aee6968
  sanket1729:
    ACK be8aee6968

Tree-SHA512: 8ed50ffc30a01424fb9591c3079c4e107b4783371e5fc95df6183b95ba2bca7db243f5e1408618f7b6c024ed31f9498b68a6d12c2994839107d556246c9e25cf
This commit is contained in:
sanket1729 2023-10-05 01:20:23 -07:00
commit a5b39faeaa
No known key found for this signature in database
GPG Key ID: 648FFB183E0870A2
1 changed files with 1 additions and 3 deletions

View File

@ -2,7 +2,7 @@
//! Proof-of-work related integer types.
//!
//! Provides the [`Work`] and [`Target`] types that are use in proof-of-work calculations. The
//! Provides the [`Work`] and [`Target`] types that are used in proof-of-work calculations. The
//! functions here are designed to be fast, by that we mean it is safe to use them to check headers.
//!
@ -61,8 +61,6 @@ macro_rules! do_impl {
/// A 256 bit integer representing work.
///
/// Work is a measure of how difficult it is to find a hash below a given [`Target`].
///
/// ref: <https://en.bitcoin.it/wiki/Work>
#[derive(Copy, Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
#[cfg_attr(feature = "serde", serde(crate = "actual_serde"))]