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, {