From 02541e071d0d0e0db183c120d1c9a6a91e60d346 Mon Sep 17 00:00:00 2001 From: Shanith K K Date: Thu, 30 Nov 2023 16:44:57 +0530 Subject: [PATCH] fix:clippy issue --- workflow/openwhisk_macro/src/lib.rs | 1 - workflow/polkadot_macro/src/lib.rs | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/workflow/openwhisk_macro/src/lib.rs b/workflow/openwhisk_macro/src/lib.rs index 16706973..65dca090 100644 --- a/workflow/openwhisk_macro/src/lib.rs +++ b/workflow/openwhisk_macro/src/lib.rs @@ -47,7 +47,6 @@ fn impl_openwhisk_client(ast: DeriveInput) -> TokenStream { let auth_token = property_map["AuthKey"].clone(); let api_host = property_map["ApiHost"].clone(); - let insecure = insecure; let namespace = property_map["Namespace"].clone(); let impl_whisk_client = quote! { diff --git a/workflow/polkadot_macro/src/lib.rs b/workflow/polkadot_macro/src/lib.rs index c5fa06c5..26711365 100644 --- a/workflow/polkadot_macro/src/lib.rs +++ b/workflow/polkadot_macro/src/lib.rs @@ -87,8 +87,7 @@ fn impl_polkadot(ast: DeriveInput) -> TokenStream { operation_methods = impl_batched_payout(polka); } else if operation.to_lowercase() == "transfer" { operation_methods = impl_transfer(polka); - } else { - } + } let structs = impl_structs(); let imports = impl_imports();