From f1b80f13f9408db9f76410c717d67d4f9cf7ed2a Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 22 Nov 2022 11:31:06 -0800 Subject: clippy cleanups --- adenosine-pds/src/bin/adenosine-pds.rs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'adenosine-pds/src/bin') diff --git a/adenosine-pds/src/bin/adenosine-pds.rs b/adenosine-pds/src/bin/adenosine-pds.rs index 3379841..1fef557 100644 --- a/adenosine-pds/src/bin/adenosine-pds.rs +++ b/adenosine-pds/src/bin/adenosine-pds.rs @@ -208,14 +208,16 @@ fn main() -> Result<()> { did_plc, } => { let req = AccountRequest { - email: email, + email, handle: handle.clone(), - password: password, + password, inviteCode: None, recoveryKey: recovery_key, }; - let mut config = AtpServiceConfig::default(); - config.public_url = public_url.unwrap_or(format!("https://{}", handle)); + let config = AtpServiceConfig { + public_url: public_url.unwrap_or(format!("https://{}", handle)), + ..Default::default() + }; let keypair = KeyPair::from_hex(&pds_secret_key)?; let mut srv = AtpService::new(&opt.blockstore_db_path, &opt.atp_db_path, keypair, config)?; -- cgit v1.2.3