From 205e4347c82917632a3faef372cf1f7e1371d1f5 Mon Sep 17 00:00:00 2001 From: Alin Cruceat Date: Fri, 29 Nov 2024 13:30:52 +0200 Subject: [PATCH] cargo fmt --- .../src/types/interaction/expr/test_token_identifier.rs | 3 +-- .../types/managed/wrapped/egld_or_esdt_token_identifier.rs | 6 ++---- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/framework/base/src/types/interaction/expr/test_token_identifier.rs b/framework/base/src/types/interaction/expr/test_token_identifier.rs index 44a87988b2..36ee135239 100644 --- a/framework/base/src/types/interaction/expr/test_token_identifier.rs +++ b/framework/base/src/types/interaction/expr/test_token_identifier.rs @@ -74,5 +74,4 @@ impl TopEncode for TestTokenIdentifier<'_> { } } -impl TypeAbiFrom> for TokenIdentifier where Api: ManagedTypeApi -{} +impl TypeAbiFrom> for TokenIdentifier where Api: ManagedTypeApi {} diff --git a/framework/base/src/types/managed/wrapped/egld_or_esdt_token_identifier.rs b/framework/base/src/types/managed/wrapped/egld_or_esdt_token_identifier.rs index 0bffac57a3..7b46cb2e50 100644 --- a/framework/base/src/types/managed/wrapped/egld_or_esdt_token_identifier.rs +++ b/framework/base/src/types/managed/wrapped/egld_or_esdt_token_identifier.rs @@ -207,10 +207,8 @@ impl TypeAbiFrom<&TokenIdentifier> for EgldOrEsdtTokenIdentifier where impl TypeAbiFrom<&[u8]> for EgldOrEsdtTokenIdentifier where M: ManagedTypeApi {} impl TypeAbiFrom<&str> for EgldOrEsdtTokenIdentifier where M: ManagedTypeApi {} -impl TypeAbiFrom> for EgldOrEsdtTokenIdentifier where - M: ManagedTypeApi -{ -} +impl TypeAbiFrom> for EgldOrEsdtTokenIdentifier where M: ManagedTypeApi +{} impl TypeAbiFrom<&TestTokenIdentifier<'_>> for EgldOrEsdtTokenIdentifier where M: ManagedTypeApi {