From 7d54cd3485e1513f70c5acf769a61df81bb8342e Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Thu, 5 Oct 2023 15:13:09 +1100 Subject: [PATCH 1/2] Fix typo in docs --- bitcoin/src/pow.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitcoin/src/pow.rs b/bitcoin/src/pow.rs index e49348c5..a4730714 100644 --- a/bitcoin/src/pow.rs +++ b/bitcoin/src/pow.rs @@ -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. //! From be8aee696860aca6dcf32750a0ee814ca503959b Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Thu, 5 Oct 2023 15:19:33 +1100 Subject: [PATCH 2/2] Remove stale link --- bitcoin/src/pow.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/bitcoin/src/pow.rs b/bitcoin/src/pow.rs index a4730714..c49bab41 100644 --- a/bitcoin/src/pow.rs +++ b/bitcoin/src/pow.rs @@ -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: #[derive(Copy, Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] #[cfg_attr(feature = "serde", serde(crate = "actual_serde"))]