From ba66c3ccd751dd31dac73cbbd198ef600d06aba5 Mon Sep 17 00:00:00 2001 From: nazeh Date: Wed, 2 Oct 2024 18:21:21 +0300 Subject: [PATCH] chore(examples): cargo fmt --- examples/authn/signup.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/authn/signup.rs b/examples/authn/signup.rs index 350f760..ecafae5 100644 --- a/examples/authn/signup.rs +++ b/examples/authn/signup.rs @@ -3,7 +3,7 @@ use clap::Parser; use pubky::PubkyClient; use std::path::PathBuf; -use pubky_common::{crypto::PublicKey}; +use pubky_common::crypto::PublicKey; #[derive(Parser, Debug)] #[command(version, about, long_about = None)] @@ -24,7 +24,7 @@ async fn main() -> Result<()> { let homeserver = cli.homeserver; - let client = PubkyClient::builder().build() ; + let client = PubkyClient::builder().build(); println!("Enter your recovery_file's passphrase to signup:"); let passphrase = rpassword::read_password()?; @@ -33,9 +33,9 @@ async fn main() -> Result<()> { println!("Successfully decrypted the recovery file, signing up to the homeserver:"); - client - .signup(&keypair, &PublicKey::try_from(homeserver).unwrap()) - .await?; + client + .signup(&keypair, &PublicKey::try_from(homeserver).unwrap()) + .await?; println!("Successfully signed up. Checking session:");