From 801c72e0566e38f98fe93a43074f4a6db8b20958 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Wed, 8 Nov 2023 09:00:53 +1100 Subject: [PATCH] Add deprecation comment to hash_types module The `hash_types` module has been emptied, it now contains only deprecated re-exports. Add a rustdoc comment stating as such. --- bitcoin/src/hash_types.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/bitcoin/src/hash_types.rs b/bitcoin/src/hash_types.rs index db0fbc9e..37d8c76f 100644 --- a/bitcoin/src/hash_types.rs +++ b/bitcoin/src/hash_types.rs @@ -2,11 +2,7 @@ //! Bitcoin hash types. //! -//! This module defines types for hashes used throughout the library. These -//! types are needed in order to avoid mixing data of the same hash format -//! (e.g. `SHA256d`) but of different meaning (such as transaction id, block -//! hash). -//! +//! This module is deprecated. You can find hash types in their respective, hopefully obvious, modules. #[deprecated(since = "0.0.0-NEXT-RELEASE", note = "use crate::T instead")] pub use crate::{