From 8b655f36b868cb023dcdd1ff712de80a59ccbdb1 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Mon, 6 Apr 2020 21:42:35 -0400 Subject: clippy --- src/actions.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/actions.rs') diff --git a/src/actions.rs b/src/actions.rs index 0998abc..f9b1354 100644 --- a/src/actions.rs +++ b/src/actions.rs @@ -7,9 +7,9 @@ pub async fn login( let client = crate::api::Client::new_self_hosted("https://bitwarden.tozt.net"); - let iterations = client.prelogin(&email).await?; + let iterations = client.prelogin(email).await?; let identity = - crate::identity::Identity::new(&email, &password, iterations)?; + crate::identity::Identity::new(email, password, iterations)?; let (access_token, _refresh_token, protected_key) = client .login(&identity.email, &identity.master_password_hash) @@ -25,7 +25,7 @@ pub async fn unlock( protected_key: String, ) -> Result<(Vec, Vec)> { let identity = - crate::identity::Identity::new(&email, &password, iterations)?; + crate::identity::Identity::new(email, password, iterations)?; let protected_key = crate::cipherstring::CipherString::new(&protected_key)?; -- cgit v1.2.3-54-g00ecf