Skip to content

Commit 21a87cc

Browse files
authored
Merge pull request #125 from buffrr/lifetime-lint
Fix rust lifetimes lint
2 parents 93ad801 + e53e4d4 commit 21a87cc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

protocol/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ impl FullSpaceOut {
350350

351351
pub fn refund_signing_info(
352352
&self,
353-
) -> Option<(Transaction, Prevouts<TxOut>, schnorr::Signature)> {
353+
) -> Option<(Transaction, Prevouts<'_, TxOut>, schnorr::Signature)> {
354354
if self.spaceout.space.is_none() {
355355
return None;
356356
}

protocol/src/slabel.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ impl Display for SLabelRef<'_> {
248248
}
249249

250250
impl SLabel {
251-
pub fn as_name_ref(&self) -> SLabelRef {
251+
pub fn as_name_ref(&self) -> SLabelRef<'_> {
252252
SLabelRef(&self.0)
253253
}
254254

0 commit comments

Comments
 (0)