From fd040f5e38584bcd89bd18f8ca584032de4f6561 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Sat, 23 Mar 2024 05:36:52 +1100 Subject: [PATCH] Replace TBD with 0.32.0 We are gearing up for the 0.32.0 release; replace all instances of TBD with the version number of the upcoming release. --- bitcoin/src/blockdata/script/borrowed.rs | 2 +- bitcoin/src/taproot/merkle_branch.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bitcoin/src/blockdata/script/borrowed.rs b/bitcoin/src/blockdata/script/borrowed.rs index a4bb14fb..c074c6a1 100644 --- a/bitcoin/src/blockdata/script/borrowed.rs +++ b/bitcoin/src/blockdata/script/borrowed.rs @@ -349,7 +349,7 @@ impl Script { /// This method has potentially confusing semantics and an unclear purpose, so it's going to be /// removed. Use `is_op_return` if you want `OP_RETURN` semantics. #[deprecated( - since = "TBD", + since = "0.32.0", note = "The method is not very useful, you might want `is_op_return`" )] #[inline] diff --git a/bitcoin/src/taproot/merkle_branch.rs b/bitcoin/src/taproot/merkle_branch.rs index 0698be26..79d6e36b 100644 --- a/bitcoin/src/taproot/merkle_branch.rs +++ b/bitcoin/src/taproot/merkle_branch.rs @@ -20,7 +20,7 @@ pub struct TaprootMerkleBranch(Vec); impl TaprootMerkleBranch { /// Returns a reference to the slice of hashes. - #[deprecated(since = "TBD", note = "Use `as_slice` instead")] + #[deprecated(since = "0.32.0", note = "Use `as_slice` instead")] #[inline] pub fn as_inner(&self) -> &[TapNodeHash] { &self.0 } @@ -106,7 +106,7 @@ impl TaprootMerkleBranch { } /// Returns the inner list of hashes. - #[deprecated(since = "TBD", note = "Use `into_vec` instead")] + #[deprecated(since = "0.32.0", note = "Use `into_vec` instead")] #[inline] pub fn into_inner(self) -> Vec { self.0 }