From 6a6e513f9ce3da9c616400328effba764cffcbc9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Daniel=20Garci=CC=81a?=
 <dani-garcia@users.noreply.github.com>
Date: Fri, 10 Jan 2025 12:15:32 +0100
Subject: [PATCH] Fix clippy lints

---
 crates/bitwarden-core/src/auth/auth_client.rs         | 6 +++---
 crates/bitwarden-core/src/mobile/client_kdf.rs        | 2 +-
 crates/bitwarden-core/src/mobile/crypto_client.rs     | 2 +-
 crates/bitwarden-core/src/platform/platform_client.rs | 2 +-
 crates/bitwarden-fido/src/client.rs                   | 2 +-
 5 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/crates/bitwarden-core/src/auth/auth_client.rs b/crates/bitwarden-core/src/auth/auth_client.rs
index d31737df..74658959 100644
--- a/crates/bitwarden-core/src/auth/auth_client.rs
+++ b/crates/bitwarden-core/src/auth/auth_client.rs
@@ -29,7 +29,7 @@ pub struct AuthClient<'a> {
     pub(crate) client: &'a crate::Client,
 }
 
-impl<'a> AuthClient<'a> {
+impl AuthClient<'_> {
     pub async fn renew_token(&self) -> Result<()> {
         renew_token(&self.client.internal).await
     }
@@ -44,7 +44,7 @@ impl<'a> AuthClient<'a> {
 }
 
 #[cfg(feature = "internal")]
-impl<'a> AuthClient<'a> {
+impl AuthClient<'_> {
     pub fn password_strength(
         &self,
         password: String,
@@ -142,7 +142,7 @@ impl<'a> AuthClient<'a> {
 }
 
 #[cfg(feature = "internal")]
-impl<'a> AuthClient<'a> {
+impl AuthClient<'_> {
     pub async fn login_device(
         &self,
         email: String,
diff --git a/crates/bitwarden-core/src/mobile/client_kdf.rs b/crates/bitwarden-core/src/mobile/client_kdf.rs
index 8cbe38ea..b340db49 100644
--- a/crates/bitwarden-core/src/mobile/client_kdf.rs
+++ b/crates/bitwarden-core/src/mobile/client_kdf.rs
@@ -6,7 +6,7 @@ pub struct ClientKdf<'a> {
     pub(crate) _client: &'a crate::Client,
 }
 
-impl<'a> ClientKdf<'a> {
+impl ClientKdf<'_> {
     pub async fn hash_password(
         &self,
         email: String,
diff --git a/crates/bitwarden-core/src/mobile/crypto_client.rs b/crates/bitwarden-core/src/mobile/crypto_client.rs
index dd3e48c9..a27842a0 100644
--- a/crates/bitwarden-core/src/mobile/crypto_client.rs
+++ b/crates/bitwarden-core/src/mobile/crypto_client.rs
@@ -20,7 +20,7 @@ pub struct CryptoClient<'a> {
     pub(crate) client: &'a crate::Client,
 }
 
-impl<'a> CryptoClient<'a> {
+impl CryptoClient<'_> {
     pub async fn initialize_user_crypto(
         &self,
         req: InitUserCryptoRequest,
diff --git a/crates/bitwarden-core/src/platform/platform_client.rs b/crates/bitwarden-core/src/platform/platform_client.rs
index 7c362291..37b2d4ed 100644
--- a/crates/bitwarden-core/src/platform/platform_client.rs
+++ b/crates/bitwarden-core/src/platform/platform_client.rs
@@ -9,7 +9,7 @@ pub struct PlatformClient<'a> {
     pub(crate) client: &'a Client,
 }
 
-impl<'a> PlatformClient<'a> {
+impl PlatformClient<'_> {
     pub fn fingerprint(&self, input: &FingerprintRequest) -> Result<FingerprintResponse> {
         generate_fingerprint(input)
     }
diff --git a/crates/bitwarden-fido/src/client.rs b/crates/bitwarden-fido/src/client.rs
index ac4330be..b45d9ad4 100644
--- a/crates/bitwarden-fido/src/client.rs
+++ b/crates/bitwarden-fido/src/client.rs
@@ -36,7 +36,7 @@ pub struct Fido2Client<'a> {
     pub authenticator: Fido2Authenticator<'a>,
 }
 
-impl<'a> Fido2Client<'a> {
+impl Fido2Client<'_> {
     pub async fn register(
         &mut self,
         origin: Origin,