From af83455c551a8f75331d0de39567b84fe9f695fa Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Fri, 29 Nov 2024 09:47:06 +0100 Subject: [PATCH] Apply suggestions from clippy 1.83 --- bb8/src/api.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bb8/src/api.rs b/bb8/src/api.rs index 857f592..ba43eea 100644 --- a/bb8/src/api.rs +++ b/bb8/src/api.rs @@ -439,7 +439,7 @@ where } } -impl<'a, M> Deref for PooledConnection<'a, M> +impl Deref for PooledConnection<'_, M> where M: ManageConnection, { @@ -450,7 +450,7 @@ where } } -impl<'a, M> DerefMut for PooledConnection<'a, M> +impl DerefMut for PooledConnection<'_, M> where M: ManageConnection, { @@ -459,7 +459,7 @@ where } } -impl<'a, M> fmt::Debug for PooledConnection<'a, M> +impl fmt::Debug for PooledConnection<'_, M> where M: ManageConnection, M::Connection: fmt::Debug, @@ -469,7 +469,7 @@ where } } -impl<'a, M> Drop for PooledConnection<'a, M> +impl Drop for PooledConnection<'_, M> where M: ManageConnection, {