From 893ffe412937d594013660c246c28004fa03db17 Mon Sep 17 00:00:00 2001 From: Thibault Martinez Date: Tue, 14 Nov 2023 10:26:48 +0100 Subject: [PATCH] fmt --- sdk/src/types/block/output/nft.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sdk/src/types/block/output/nft.rs b/sdk/src/types/block/output/nft.rs index 31c1cba079..1a1656df4f 100644 --- a/sdk/src/types/block/output/nft.rs +++ b/sdk/src/types/block/output/nft.rs @@ -46,11 +46,7 @@ impl From<&OutputId> for NftId { impl NftId { /// pub fn or_from_output_id(self, output_id: &OutputId) -> Self { - if self.is_null() { - Self::from(output_id) - } else { - self - } + if self.is_null() { Self::from(output_id) } else { self } } }