From c7a8adf2df589ee7add08f2aa5a56fcf3d5ee095 Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Mon, 5 Apr 2021 19:07:27 -0400 Subject: [PATCH] remove unneeded ref --- tokio-postgres/src/transaction.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio-postgres/src/transaction.rs b/tokio-postgres/src/transaction.rs index 7fadce06..a1aa7611 100644 --- a/tokio-postgres/src/transaction.rs +++ b/tokio-postgres/src/transaction.rs @@ -309,6 +309,6 @@ impl<'a> Transaction<'a> { /// Returns a reference to the underlying `Client`. pub fn client(&self) -> &Client { - &self.client + self.client } }