Skip to content

Commit

Permalink
Remove unneeded lifetimes
Browse files Browse the repository at this point in the history
  • Loading branch information
thibault-martinez committed Nov 8, 2023
1 parent 29845f1 commit 5572954
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion sdk/src/types/block/output/account.rs
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ impl AccountOutputBuilder {
}

/// Finishes the [`AccountOutputBuilder`] into an [`Output`].
pub fn finish_output<'a>(self) -> Result<Output, Error> {
pub fn finish_output(self) -> Result<Output, Error> {
Ok(Output::Account(self.finish()?))
}
}
Expand Down
2 changes: 1 addition & 1 deletion sdk/src/types/block/output/anchor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ impl AnchorOutputBuilder {
}

/// Finishes the [`AnchorOutputBuilder`] into an [`Output`].
pub fn finish_output<'a>(self) -> Result<Output, Error> {
pub fn finish_output(self) -> Result<Output, Error> {
Ok(Output::Anchor(self.finish()?))
}
}
Expand Down
2 changes: 1 addition & 1 deletion sdk/src/types/block/output/basic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ impl BasicOutputBuilder {
}

/// Finishes the [`BasicOutputBuilder`] into an [`Output`].
pub fn finish_output<'a>(self) -> Result<Output, Error> {
pub fn finish_output(self) -> Result<Output, Error> {
Ok(Output::Basic(self.finish()?))
}
}
Expand Down
2 changes: 1 addition & 1 deletion sdk/src/types/block/output/foundry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ impl FoundryOutputBuilder {
}

/// Finishes the [`FoundryOutputBuilder`] into an [`Output`].
pub fn finish_output<'a>(self) -> Result<Output, Error> {
pub fn finish_output(self) -> Result<Output, Error> {
Ok(Output::Foundry(self.finish()?))
}
}
Expand Down
2 changes: 1 addition & 1 deletion sdk/src/types/block/output/nft.rs
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ impl NftOutputBuilder {
}

/// Finishes the [`NftOutputBuilder`] into an [`Output`].
pub fn finish_output<'a>(self) -> Result<Output, Error> {
pub fn finish_output(self) -> Result<Output, Error> {
Ok(Output::Nft(self.finish()?))
}
}
Expand Down

0 comments on commit 5572954

Please sign in to comment.