From 53fc5b2e598a10682a8af36e6d040443ebc2d86c Mon Sep 17 00:00:00 2001
From: Hugo Trentesaux <hugo@trentesaux.fr>
Date: Thu, 7 Dec 2023 16:51:33 +0100
Subject: [PATCH] clippy

---
 src/commands/cesium.rs | 4 ++--
 src/main.rs            | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/commands/cesium.rs b/src/commands/cesium.rs
index 94cc8f0..0eda774 100644
--- a/src/commands/cesium.rs
+++ b/src/commands/cesium.rs
@@ -30,13 +30,13 @@ pub async fn handle_command(_data: Data, command: Subcommand) -> Result<(), Gcli
 			};
 			println!("Pubkey (hex): 0x{}", hex::encode(raw_pubkey));
 			let address: AccountId = sp_core::ed25519::Public(raw_pubkey).into();
-			println!("Address (SS58): {}", address.to_string());
+			println!("Address (SS58): {}", address);
 		}
 		Subcommand::Prompt => {
 			let keypair = prompt_secret_cesium();
 			println!("Pubkey: {}", bs58::encode(keypair.pkey).into_string());
 			let address: AccountId = keypair.pkey.into();
-			println!("Address: {}", address.to_string());
+			println!("Address: {}", address);
 		}
 	}
 	Ok(())
diff --git a/src/main.rs b/src/main.rs
index 8ee9098..eb02418 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -139,7 +139,7 @@ async fn main() -> Result<(), GcliError> {
 	if let Err(ref e) = result {
 		println!("{}", e)
 	}
-	println!("");
+	println!();
 	// still return result for detailed error message
 	result
 	// Ok(())
-- 
GitLab