Skip to content

Commit 0624d96

Browse files
committed
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.
1 parent f22f10b commit 0624d96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bitcoin/src/blockdata/transaction.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ pub trait TransactionExt: sealed::Sealed {
309309
/// This is useful in combination with [`predict_weight`] if you have the transaction already
310310
/// constructed with a dummy value in the fee output which you'll adjust after calculating the
311311
/// weight.
312-
fn script_pubkey_lens(&self) -> TxOutToScriptPubkeyLengthIter;
312+
fn script_pubkey_lens(&self) -> TxOutToScriptPubkeyLengthIter<'_>;
313313

314314
/// Counts the total number of sigops.
315315
///

0 commit comments

Comments
 (0)