From e53e4d46f6750e75306809a4637a6e7db89bb9a1 Mon Sep 17 00:00:00 2001 From: Buffrr Date: Sat, 13 Dec 2025 20:28:55 +0100 Subject: [PATCH] Fix rust lifetimes lint --- protocol/src/lib.rs | 2 +- protocol/src/slabel.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/protocol/src/lib.rs b/protocol/src/lib.rs index a8f6c63..7bf679d 100644 --- a/protocol/src/lib.rs +++ b/protocol/src/lib.rs @@ -350,7 +350,7 @@ impl FullSpaceOut { pub fn refund_signing_info( &self, - ) -> Option<(Transaction, Prevouts, schnorr::Signature)> { + ) -> Option<(Transaction, Prevouts<'_, TxOut>, schnorr::Signature)> { if self.spaceout.space.is_none() { return None; } diff --git a/protocol/src/slabel.rs b/protocol/src/slabel.rs index 4349309..28265d2 100644 --- a/protocol/src/slabel.rs +++ b/protocol/src/slabel.rs @@ -248,7 +248,7 @@ impl Display for SLabelRef<'_> { } impl SLabel { - pub fn as_name_ref(&self) -> SLabelRef { + pub fn as_name_ref(&self) -> SLabelRef<'_> { SLabelRef(&self.0) }