Merge rust-bitcoin/rust-bitcoin#3751: Remove unnecessary rustdocs
99e2a9f530
Remove unnecessary rustdocs (Tobin C. Harding)
Pull request description:
The `deprecated` attribute already fully explains the status of a deprecated function and the replacement - no need to repeat this.
ACKs for top commit:
apoelstra:
ACK 99e2a9f530eced69e9df1441e15d24e626974385; successfully ran local tests
Tree-SHA512: 133d41573a3ba97abf85100649c1e8dfe131521a627e0b7f1ab803845caf1c183b99488cb5d9f7e858cab1b35f8907a79b320ec01901b15fdd63d08f0bc1f87e
This commit is contained in:
commit
7977231839
|
@ -213,23 +213,14 @@ fn size_from_script_pubkey(script_pubkey: &Script) -> usize {
|
||||||
/// Extension functionality for the [`Transaction`] type.
|
/// Extension functionality for the [`Transaction`] type.
|
||||||
pub trait TransactionExt: sealed::Sealed {
|
pub trait TransactionExt: sealed::Sealed {
|
||||||
/// Computes a "normalized TXID" which does not include any signatures.
|
/// Computes a "normalized TXID" which does not include any signatures.
|
||||||
///
|
|
||||||
/// This method is deprecated. `ntxid` has been renamed to `compute_ntxid` to note that it's
|
|
||||||
/// computationally expensive. Use `compute_ntxid` instead.
|
|
||||||
#[deprecated(since = "0.31.0", note = "use `compute_ntxid()` instead")]
|
#[deprecated(since = "0.31.0", note = "use `compute_ntxid()` instead")]
|
||||||
fn ntxid(&self) -> sha256d::Hash;
|
fn ntxid(&self) -> sha256d::Hash;
|
||||||
|
|
||||||
/// Computes the [`Txid`].
|
/// Computes the [`Txid`].
|
||||||
///
|
|
||||||
/// This method is deprecated. `txid` has been renamed to `compute_txid` to note that it's
|
|
||||||
/// computationally expensive. Use `compute_txid` instead.
|
|
||||||
#[deprecated(since = "0.31.0", note = "use `compute_txid()` instead")]
|
#[deprecated(since = "0.31.0", note = "use `compute_txid()` instead")]
|
||||||
fn txid(&self) -> Txid;
|
fn txid(&self) -> Txid;
|
||||||
|
|
||||||
/// Computes the segwit version of the transaction id.
|
/// Computes the segwit version of the transaction id.
|
||||||
///
|
|
||||||
/// This method is deprecated. `wtxid` has been renamed to `compute_wtxid` to note that it's
|
|
||||||
/// computationally expensive. Use `compute_wtxid` instead.
|
|
||||||
#[deprecated(since = "0.31.0", note = "use `compute_wtxid()` instead")]
|
#[deprecated(since = "0.31.0", note = "use `compute_wtxid()` instead")]
|
||||||
fn wtxid(&self) -> Wtxid;
|
fn wtxid(&self) -> Wtxid;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue