Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
thibault-martinez committed Nov 14, 2023
1 parent 7e5a5de commit 893ffe4
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions sdk/src/types/block/output/nft.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
}
}

Expand Down

0 comments on commit 893ffe4

Please sign in to comment.