Skip to content

Commit 30a3b59

Browse files
committed
psbt: fix "redundant target" doc warning
We don't need to provide explicit targets for doclinks if the name matches the type being pointed to.
1 parent 5719714 commit 30a3b59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/psbt/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ pub trait PsbtExt {
563563
///
564564
/// Based on the sighash
565565
/// flag specified in the [`Psbt`] sighash field. If the input sighash flag psbt field is `None`
566-
/// the [`sighash::TapSighashType::Default`](bitcoin::sighash::TapSighashType::Default) is chosen
566+
/// the [`sighash::TapSighashType::Default`] is chosen
567567
/// for for taproot spends, otherwise [`EcdsaSighashType::All`](bitcoin::sighash::EcdsaSighashType::All) is chosen.
568568
/// If the utxo at `idx` is a taproot output, returns a [`PsbtSighashMsg::TapSighash`] variant.
569569
/// If the utxo at `idx` is a pre-taproot segwit output, returns a [`PsbtSighashMsg::SegwitV0Sighash`] variant.

0 commit comments

Comments
 (0)