diff --git a/bitcoin/src/blockdata/transaction.rs b/bitcoin/src/blockdata/transaction.rs index 7bcba7a23..654388b48 100644 --- a/bitcoin/src/blockdata/transaction.rs +++ b/bitcoin/src/blockdata/transaction.rs @@ -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. /// diff --git a/bitcoin/src/taproot/serialized_signature.rs b/bitcoin/src/taproot/serialized_signature.rs index a63af0fe2..60a71584f 100644 --- a/bitcoin/src/taproot/serialized_signature.rs +++ b/bitcoin/src/taproot/serialized_signature.rs @@ -49,7 +49,7 @@ impl PartialEq for [u8] { impl PartialOrd for SerializedSignature { fn partial_cmp(&self, other: &SerializedSignature) -> Option { - Some((**self).cmp(&**other)) + Some(self.cmp(other)) } } diff --git a/nightly-version b/nightly-version index e1c42351e..b54e2edfc 100644 --- a/nightly-version +++ b/nightly-version @@ -1 +1 @@ -nightly-2025-06-06 +nightly-2025-06-20