From 55729546d9902c6881f28fabc8433a2f7c6e266d Mon Sep 17 00:00:00 2001 From: Thibault Martinez Date: Wed, 8 Nov 2023 15:11:24 +0100 Subject: [PATCH] Remove unneeded lifetimes --- sdk/src/types/block/output/account.rs | 2 +- sdk/src/types/block/output/anchor.rs | 2 +- sdk/src/types/block/output/basic.rs | 2 +- sdk/src/types/block/output/foundry.rs | 2 +- sdk/src/types/block/output/nft.rs | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sdk/src/types/block/output/account.rs b/sdk/src/types/block/output/account.rs index 0c67a9a38f..3dee4b05f3 100644 --- a/sdk/src/types/block/output/account.rs +++ b/sdk/src/types/block/output/account.rs @@ -271,7 +271,7 @@ impl AccountOutputBuilder { } /// Finishes the [`AccountOutputBuilder`] into an [`Output`]. - pub fn finish_output<'a>(self) -> Result { + pub fn finish_output(self) -> Result { Ok(Output::Account(self.finish()?)) } } diff --git a/sdk/src/types/block/output/anchor.rs b/sdk/src/types/block/output/anchor.rs index 30fa01027d..8dccff6276 100644 --- a/sdk/src/types/block/output/anchor.rs +++ b/sdk/src/types/block/output/anchor.rs @@ -320,7 +320,7 @@ impl AnchorOutputBuilder { } /// Finishes the [`AnchorOutputBuilder`] into an [`Output`]. - pub fn finish_output<'a>(self) -> Result { + pub fn finish_output(self) -> Result { Ok(Output::Anchor(self.finish()?)) } } diff --git a/sdk/src/types/block/output/basic.rs b/sdk/src/types/block/output/basic.rs index 573cbdeede..7b99c1c574 100644 --- a/sdk/src/types/block/output/basic.rs +++ b/sdk/src/types/block/output/basic.rs @@ -182,7 +182,7 @@ impl BasicOutputBuilder { } /// Finishes the [`BasicOutputBuilder`] into an [`Output`]. - pub fn finish_output<'a>(self) -> Result { + pub fn finish_output(self) -> Result { Ok(Output::Basic(self.finish()?)) } } diff --git a/sdk/src/types/block/output/foundry.rs b/sdk/src/types/block/output/foundry.rs index 996cb0c06b..f979bc1a5d 100644 --- a/sdk/src/types/block/output/foundry.rs +++ b/sdk/src/types/block/output/foundry.rs @@ -297,7 +297,7 @@ impl FoundryOutputBuilder { } /// Finishes the [`FoundryOutputBuilder`] into an [`Output`]. - pub fn finish_output<'a>(self) -> Result { + pub fn finish_output(self) -> Result { Ok(Output::Foundry(self.finish()?)) } } diff --git a/sdk/src/types/block/output/nft.rs b/sdk/src/types/block/output/nft.rs index 552110a7f7..28c32ff138 100644 --- a/sdk/src/types/block/output/nft.rs +++ b/sdk/src/types/block/output/nft.rs @@ -257,7 +257,7 @@ impl NftOutputBuilder { } /// Finishes the [`NftOutputBuilder`] into an [`Output`]. - pub fn finish_output<'a>(self) -> Result { + pub fn finish_output(self) -> Result { Ok(Output::Nft(self.finish()?)) } }