Use the anonymous lifetime for path

Lint error from new nightly "lifetime flowing from input to output with
different syntax can be confusing".

Add the anonymous lifetime to make it explicit.
This commit is contained in:
Jamil Lambert, PhD 2025-06-24 12:08:12 +01:00
parent f22f10b5ca
commit 0624d96415
No known key found for this signature in database
GPG Key ID: 7F574053F8F17A64
1 changed files with 1 additions and 1 deletions

View File

@ -309,7 +309,7 @@ pub trait TransactionExt: sealed::Sealed {
/// This is useful in combination with [`predict_weight`] if you have the transaction already
/// constructed with a dummy value in the fee output which you'll adjust after calculating the
/// weight.
fn script_pubkey_lens(&self) -> TxOutToScriptPubkeyLengthIter;
fn script_pubkey_lens(&self) -> TxOutToScriptPubkeyLengthIter<'_>;
/// Counts the total number of sigops.
///