Merge rust-bitcoin/rust-bitcoin#2626: Replace TBD with 0.32.0

fd040f5e38 Replace TBD with 0.32.0 (Tobin C. Harding)

Pull request description:

  We are gearing up for the 0.32.0 release; replace all instances of TBD with the version number of the upcoming release.

ACKs for top commit:
  sanket1729:
    ACK fd040f5e38
  apoelstra:
    ACK fd040f5e38

Tree-SHA512: fe73fd47a794557742f618b21434cd3cc18cde0e861216716723bfcc9135accf63590e1ea60bfeda066acec7312c8b9f1bf09e7454e7161ccaba5ebe60af66fd
This commit is contained in:
Andrew Poelstra 2024-03-24 15:04:20 +00:00
commit c211e7be78
No known key found for this signature in database
GPG Key ID: C588D63CE41B97C1
2 changed files with 3 additions and 3 deletions

View File

@ -359,7 +359,7 @@ impl Script {
/// This method has potentially confusing semantics and an unclear purpose, so it's going to be /// 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. /// removed. Use `is_op_return` if you want `OP_RETURN` semantics.
#[deprecated( #[deprecated(
since = "TBD", since = "0.32.0",
note = "The method is not very useful, you might want `is_op_return`" note = "The method is not very useful, you might want `is_op_return`"
)] )]
#[inline] #[inline]

View File

@ -20,7 +20,7 @@ pub struct TaprootMerkleBranch(Vec<TapNodeHash>);
impl TaprootMerkleBranch { impl TaprootMerkleBranch {
/// Returns a reference to the slice of hashes. /// 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] #[inline]
pub fn as_inner(&self) -> &[TapNodeHash] { &self.0 } pub fn as_inner(&self) -> &[TapNodeHash] { &self.0 }
@ -106,7 +106,7 @@ impl TaprootMerkleBranch {
} }
/// Returns the inner list of hashes. /// 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] #[inline]
pub fn into_inner(self) -> Vec<TapNodeHash> { self.0 } pub fn into_inner(self) -> Vec<TapNodeHash> { self.0 }